forked from DGNum/liminix
13 lines
224 B
Nix
13 lines
224 B
Nix
{
|
|
stdenv
|
|
, nix
|
|
, cpio
|
|
}: stdenv.mkDerivation {
|
|
name = "min-copy-closure";
|
|
buildInputs = [ nix cpio ];
|
|
src = ./.;
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp min-copy-closure.sh $out/bin/nix-copy-closure
|
|
'';
|
|
}
|