Exclude package from cache.nixos.org

Hello, there is a package in nixpkgs that currently requires the user to manually fetch the latest download, add it to the nix store and from there they can build the derivation.

Based on the discussion on this PR it looks like the license for the tool prohibits others from redistributing the SDK so I wanted to see if there was a method to prevent a nixpkgs package from being added to cache.nixos.org.: ndi: 5.6.0 -> 5.6.1 by LostAttractor · Pull Request #305112 · NixOS/nixpkgs · GitHub

This would allow us to automate the fetching process without breaking the redistribution issue with the license as seen in this PR I have: ndi: update src and fix lib symlink by jshcmpbll · Pull Request #298259 · NixOS/nixpkgs · GitHub

Also if this topic is in the wrong category feel free to move it, it wasn’t clear where this post should go.

It’s already excluded because the license is unfree – Hydra doesn’t build it, therefore it doesn’t get uploaded to the cache.

2 Likes

Oh awesome, thank you winter! That makes it easy then :smiley: