liminix/pkgs/min-copy-closure/default.nix

14 lines
224 B
Nix
Raw Normal View History

{
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
'';
}