mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #299984 from willswats/hyprshade-fix-install
hyprshade: fix systemd user service
This commit is contained in:
commit
01bbd6cee7
@ -4,6 +4,8 @@
|
||||
, hatchling
|
||||
, more-itertools
|
||||
, click
|
||||
, hyprland
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -20,12 +22,15 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ more-itertools click ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/hyprshade --set HYPRSHADE_SHADERS_DIR $out/share/hyprshade/shaders
|
||||
wrapProgram $out/bin/hyprshade \
|
||||
--set HYPRSHADE_SHADERS_DIR $out/share/hyprshade/shaders \
|
||||
--prefix PATH : ${lib.makeBinPath [ hyprland ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user