depot/third_party/nixpkgs/pkgs/build-support/nuke-references/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

13 lines
427 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.
{ stdenvNoCC, perl }:
stdenvNoCC.mkDerivation {
name = "nuke-references";
builder = ./builder.sh;
# FIXME: get rid of perl dependency.
inherit perl;
}