Simplify dummy
This commit is contained in:
parent
76b0a239e3
commit
cff653d164
@ -2,23 +2,21 @@
|
||||
stdenv
|
||||
}:
|
||||
|
||||
{
|
||||
hello = stdenv.mkDerivation rec {
|
||||
name = "dummy";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dummy";
|
||||
|
||||
src = null;
|
||||
dontUnpack = true;
|
||||
dontBuild = true;
|
||||
src = null;
|
||||
dontUnpack = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
cat > $out/bin/dummy <<EOF
|
||||
#!/bin/sh
|
||||
echo Hello world!
|
||||
EOF
|
||||
cat > $out/bin/dummy <<EOF
|
||||
#!/bin/sh
|
||||
echo Hello world!
|
||||
EOF
|
||||
|
||||
chmod +x $out/bin/dummy
|
||||
'';
|
||||
};
|
||||
chmod +x $out/bin/dummy
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user