nixpkgs-suyu/pkgs/build-support/nuke-references/default.nix

13 lines
380 B
Nix
Raw Normal View History

# 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.
2015-10-18 16:53:29 +02:00
{ stdenv, perl }:
stdenv.mkDerivation {
name = "nuke-references";
builder = ./builder.sh;
2015-10-18 16:53:29 +02:00
inherit perl;
}