diff --git a/flake.nix b/flake.nix index cfd87ba..66737b5 100644 --- a/flake.nix +++ b/flake.nix @@ -96,7 +96,7 @@ ln -s "${desktopItem}"/share/applications/* "$out/share/applications/" '' + lib.optionalString pkgs.stdenv.hostPlatform.isLinux /* sh */ '' - wrapProgram $out/${name} --inherit-argv0 \ + wrapProgram $out/bin/${name} --inherit-argv0 \ --prefix PATH : ${lib.makeBinPath [ pkgs.zenity ]} ''; }