Give pkgs their own directory and convert everything to callPackage.

This commit is contained in:
Clemens Fruhwirth
2019-03-29 11:12:05 +01:00
parent ba387907db
commit 95b42b62a8
7 changed files with 4 additions and 4 deletions
+15
View File
@@ -0,0 +1,15 @@
{pkgs}:
with pkgs;
stdenv.mkDerivation {
name = "banlist";
src = ./banlist.sh;
unpackPhase = "true";
installPhase = ''
mkdir -p $out
mkdir -p $out/bin
cp $src $out/bin/banlist
chmod +x $out/bin/banlist
'';
}