mirror of
https://github.com/SpyHoodle/PrideFetch.git
synced 2024-11-22 10:55:43 +00:00
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:
parent
4b66098f2c
commit
1fd3413005
@ -21,7 +21,9 @@
|
|||||||
unpackPhase = "true";
|
unpackPhase = "true";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
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
|
chmod +x $out/bin/pridefetch
|
||||||
'';
|
'';
|
||||||
meta = with pkgs.lib; {
|
meta = with pkgs.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user