nix: fix wallpaper location (#334)

This commit is contained in:
Fernando Ayats 2022-07-08 16:46:42 +02:00 committed by GitHub
parent 8482063157
commit c8c5e0b90a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -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; {