pop-launcher: prefer --replace-fail for substituteInPlace (#337457)
This commit is contained in:
commit
8f8d949e95
@ -18,15 +18,15 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/lib.rs \
|
||||
--replace '/usr/lib/pop-launcher' "$out/share/pop-launcher"
|
||||
--replace-fail '/usr/lib/pop-launcher' "$out/share/pop-launcher"
|
||||
substituteInPlace plugins/src/scripts/mod.rs \
|
||||
--replace '/usr/lib/pop-launcher' "$out/share/pop-launcher"
|
||||
--replace-fail '/usr/lib/pop-launcher' "$out/share/pop-launcher"
|
||||
substituteInPlace plugins/src/calc/mod.rs \
|
||||
--replace 'Command::new("qalc")' 'Command::new("${libqalculate}/bin/qalc")'
|
||||
--replace-fail 'Command::new("qalc")' 'Command::new("${libqalculate}/bin/qalc")'
|
||||
substituteInPlace plugins/src/find/mod.rs \
|
||||
--replace 'spawn("fd")' 'spawn("${fd}/bin/fd")'
|
||||
--replace-fail 'spawn("fd")' 'spawn("${fd}/bin/fd")'
|
||||
substituteInPlace plugins/src/terminal/mod.rs \
|
||||
--replace '/usr/bin/gnome-terminal' 'gnome-terminal'
|
||||
--replace-fail '/usr/bin/gnome-terminal' 'gnome-terminal'
|
||||
'';
|
||||
|
||||
cargoHash = "sha256-cTvrq0fH057UIx/O9u8zHMsg+psMGg1q9klV5OMxtok=";
|
@ -32786,8 +32786,6 @@ with pkgs;
|
||||
|
||||
ponymix = callPackage ../applications/audio/ponymix { };
|
||||
|
||||
pop-launcher = callPackage ../applications/misc/pop-launcher { };
|
||||
|
||||
pothos = libsForQt5.callPackage ../applications/radio/pothos { };
|
||||
|
||||
potrace = callPackage ../applications/graphics/potrace { };
|
||||
|
Loading…
Reference in New Issue
Block a user