summary refs log tree commit diff
path: root/pkgs/build-support/nuke-references/default.nix
blob: d894b56d366aff19f2a70e4f392bf38b65e3e623 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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;
}