mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
alsa-scarlett-gui: fix postInstall indentation, change to not use pname in substituion (#246636)
This commit is contained in:
parent
1ae7d9030b
commit
588861551a
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ pkg-config wrapGAppsHook4 ];
|
||||
buildInputs = [ gtk4 alsa-lib ];
|
||||
postInstall = ''
|
||||
substituteInPlace $out/share/applications/vu.b4.${pname}.desktop \
|
||||
--replace "Exec=/bin/alsa-scarlett-gui" "Exec=$out/bin/${pname}"
|
||||
substituteInPlace $out/share/applications/vu.b4.alsa-scarlett-gui.desktop \
|
||||
--replace "Exec=/bin/alsa-scarlett-gui" "Exec=$out/bin/alsa-scarlett-gui"
|
||||
'';
|
||||
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
|
|
Loading…
Reference in a new issue