nixpkgs/pkgs/build-support/nuke-references/default.nix
Eelco Dolstra 609607768f * Turn the nukeRefs() function into a separate program.
svn path=/nixpkgs/trunk/; revision=6941
2006-11-03 13:33:24 +00:00

11 lines
355 B
Nix

# The program `nuke-refs' created by this derivation replaces all
# references to the Nix store in the specified files by a non-existant
# path (/nix/store/eeee...). This is useful for getting rid of
# dependencies that you know are not actually needed at runtime.
{stdenv}:
stdenv.mkDerivation {
name = "nuke-references";
builder = ./builder.sh;
}