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

stdenv.mkDerivation {
  name = "nuke-references";
  builder = ./builder.sh;
  inherit perl;
}