about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2024-06-24 09:39:30 -0300
committerGitHub <noreply@github.com>2024-06-24 09:39:30 -0300
commit96c69211e62f729a1eea2b7d9467ebe8f8700746 (patch)
treef8344b3bee18a112fdb66afc913dca263b812173 /pkgs
parentd213fa697f0af06f504e1ebd37a7bca78bc0e868 (diff)
parent69074b67a36d30a8eef6e76343246441c2c13730 (diff)
Merge pull request #321919 from digitalrayne/fix-e16-gen-menu
e16: fix e_gen_menu script for NixOS
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/window-managers/e16/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/e16/default.nix b/pkgs/applications/window-managers/e16/default.nix
index d47b63dda4d04..7a2aa724d3534 100644
--- a/pkgs/applications/window-managers/e16/default.nix
+++ b/pkgs/applications/window-managers/e16/default.nix
@@ -16,6 +16,7 @@
 , libsndfile
 , pango
 , perl
+, python3
 , gitUpdater
 }:
 
@@ -47,10 +48,13 @@ stdenv.mkDerivation rec {
     libsndfile
     pango
     perl
+    python3
   ];
 
   postPatch = ''
     substituteInPlace scripts/e_gen_menu --replace "/usr/local:" "/run/current-system/sw:/usr/local:"
+    substituteInPlace scripts/e_gen_menu --replace "'/opt'" "'/opt', '/run/current-system/sw'"
+    substituteInPlace scripts/e_gen_menu --replace "'/.local'" "'/.nix-profile', '/.local'"
   '';
 
   passthru.updateScript = gitUpdater {