Skip to content

Commit

Permalink
alsa-scarlett-gui: fix postInstall indentation, change to not use pna…
Browse files Browse the repository at this point in the history
…me in substituion (#246636)
  • Loading branch information
SebTM authored Aug 10, 2023
1 parent 1ae7d90 commit 5888615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/audio/alsa-scarlett-gui/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5888615

Please sign in to comment.