aboutsummaryrefslogtreecommitdiffhomepage
path: root/nix/default.nix
diff options
context:
space:
mode:
authorFernando Ayats <[email protected]>2022-07-08 16:46:42 +0200
committerGitHub <[email protected]>2022-07-08 17:46:42 +0300
commitc8c5e0b90a950bb20c5be5b1c1009889d8540529 (patch)
treeacd4968949bb8ac6ef4e212503d9609e63c412c1 /nix/default.nix
parent84820631579178854db2ed5bce064bcfe8490ed9 (diff)
downloadHyprland-c8c5e0b90a950bb20c5be5b1c1009889d8540529.tar.gz
Hyprland-c8c5e0b90a950bb20c5be5b1c1009889d8540529.zip
nix: fix wallpaper location (#334)
Diffstat (limited to 'nix/default.nix')
-rw-r--r--nix/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nix/default.nix b/nix/default.nix
index 495345fd..8ad64f2f 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -61,6 +61,11 @@ stdenv.mkDerivation {
./meson-build.patch
];
+ # Fix hardcoded paths to /usr installation
+ postPatch = ''
+ sed -i "s#/usr#$out#" src/render/OpenGL.cpp
+ '';
+
passthru.providedSessions = ["hyprland"];
meta = with lib; {