1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/build-support/nuke-references/default.nix

14 lines
427 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.
2019-10-11 16:10:12 +01:00
{ stdenvNoCC, perl }:
2019-10-11 16:10:12 +01:00
stdenvNoCC.mkDerivation {
name = "nuke-references";
builder = ./builder.sh;
2019-10-11 16:10:12 +01:00
# FIXME: get rid of perl dependency.
2015-10-18 15:53:29 +01:00
inherit perl;
}