liminix/pkgs/min-copy-closure/default.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
'';
}