mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 15:37:47 +03:00
e16: fix e_gen_menu script for NixOS
This commit is contained in:
parent
b555d32cea
commit
69074b67a3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user