liminix/pkgs/min-copy-closure/default.nix
2023-05-07 22:51:10 +01:00

15 lines
273 B
Nix

{
stdenv
, nix
, cpio
, openssh
}: stdenv.mkDerivation {
name = "min-copy-closure";
buildInputs = [ ];
propagatedBuildInputs = [ cpio openssh nix ];
src = ./.;
installPhase = ''
mkdir -p $out/bin
cp min-copy-closure.sh $out/bin/min-copy-closure
'';
}