Simplify dummy
This commit is contained in:
parent
76b0a239e3
commit
cff653d164
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user