Attempt to fix flake.nix so it packages correctly

- Match the new directory structure
- Do not copy packages.py into bin
This commit is contained in:
Skyler 2022-05-24 20:35:55 +01:00 committed by GitHub
parent 4b66098f2c
commit 1fd3413005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,9 @@
unpackPhase = "true";
installPhase = ''
mkdir -p $out/bin
cp ${./pridefetch} $out/bin/pridefetch
cd src
zip -r ../pridefetch.zip *
echo '#!/usr/bin/env python' | cat - pridefetch.zip > $out/bin/pridefetch
chmod +x $out/bin/pridefetch
'';
meta = with pkgs.lib; {