Update flake

This commit is contained in:
Invariantspace 2024-06-15 17:35:22 -07:00
parent 7a3f92ec84
commit 7329a57c22
No known key found for this signature in database
GPG key ID: EBC4A20067373921
3 changed files with 7 additions and 9 deletions

View file

@ -42,7 +42,6 @@ pkgs.plasma5Packages.callPackage
postInstall = ''
chmod +x ../plugin/contents/pyext.py
PATH=${python-ws}/bin:$PATH patchShebangs --build ../plugin/contents/pyext.py
sed -i "16i \\ \"[ -f \\\\\"\$HOME/.nix-profile/share/\$EXT\\\\\" ] && WKD=\\\\\"\$HOME/.nix-profile/share/\$EXT\\\\\"\"," ../plugin/contents/ui/Pyext.qml
sed -i "s/exec python3 //g" ../plugin/contents/ui/Pyext.qml
mkdir -p $out/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/
cp -r ../plugin/* $out/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/

View file

@ -30,7 +30,6 @@ pkgs.kdePackages.callPackage
meta.license = with lib.licenses; [ gpl2 ];
pname = name;
postInstall = ''
sed -i "16i \\ \"[ -f \\\\\"\$HOME/.nix-profile/share/\$EXT\\\\\" ] && WKD=\\\\\"\$HOME/.nix-profile/share/\$EXT\\\\\"\"," ../plugin/contents/ui/Pyext.qml
sed -i "s/exec python3 //g" ../plugin/contents/ui/Pyext.qml
chmod +x ../plugin/contents/pyext.py
PATH=${python-ws}/bin:$PATH patchShebangs --build ../plugin/contents/pyext.py