This commit is contained in:
Miguel Palhas
2025-10-06 09:40:41 +01:00
parent 0dff3c1585
commit d4659b1b04
6 changed files with 25 additions and 18 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
lib,
stdenvNoCC,
fetchFromGitHub,
rofi-wayland,
rofi,
}:
stdenvNoCC.mkDerivation {
@@ -15,14 +15,14 @@ stdenvNoCC.mkDerivation {
hash = "sha256-ZSosFsi/M5Gqb9gsUqS7hu89uOu9078Dus4Y+WCphZc=";
};
buildInputs = [ rofi-wayland ];
buildInputs = [ rofi ];
postPatch = ''
files=$(find files/scripts -type l)
for file in $files; do
substituteInPlace $file \
--replace-fail '$HOME/.config/rofi' "$out/share" \
--replace-fail "rofi " "${lib.getExe rofi-wayland} "
--replace-fail "rofi " "${lib.getExe rofi} "
done
files=$(find files/launchers -type f -name "*.rasi")