chmod $out not $src as this fails under NixOS.

This commit is contained in:
Clemens Fruhwirth 2019-03-25 14:28:46 +01:00
parent 5e40066c7f
commit 316b493cda
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation {
installPhase = ''
mkdir -p $out
mkdir -p $out/bin
chmod +wx $src
cp $src $out/bin/banlist
chmod +x $out/bin/banlist
'';
}

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation {
installPhase = ''
mkdir -p $out
mkdir -p $out/bin
chmod +wx $src
cp $src $out/bin/nodeinfo
chmod +x $out/bin/nodeinfo
'';
}