Simplify dummy

This commit is contained in:
Rodrigo Arias 2020-08-25 14:52:18 +02:00
parent 76b0a239e3
commit cff653d164

View File

@ -2,23 +2,21 @@
stdenv stdenv
}: }:
{ stdenv.mkDerivation rec {
hello = stdenv.mkDerivation rec { name = "dummy";
name = "dummy";
src = null; src = null;
dontUnpack = true; dontUnpack = true;
dontBuild = true; dontBuild = true;
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cat > $out/bin/dummy <<EOF cat > $out/bin/dummy <<EOF
#!/bin/sh #!/bin/sh
echo Hello world! echo Hello world!
EOF EOF
chmod +x $out/bin/dummy chmod +x $out/bin/dummy
''; '';
};
} }