diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-05-15 18:00:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-15 18:00:59 +0000 |
commit | bb81a9932e984fe5dccb6b6399c9a2b18f12051a (patch) | |
tree | 0c371cfb483847a591192ff6feaf889bd2ba79a3 /pkgs/development/interpreters | |
parent | 2a949a0095046aa24b7491b1f85535277835cff8 (diff) | |
parent | 0afa1438f7b195a370a971a025310c69cb8b2742 (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/octave/build-env.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/octave/build-env.nix b/pkgs/development/interpreters/octave/build-env.nix index 59575f95fc4b0..e7da04b38144e 100644 --- a/pkgs/development/interpreters/octave/build-env.nix +++ b/pkgs/development/interpreters/octave/build-env.nix @@ -63,6 +63,14 @@ in buildEnv { addPkgLocalList $out ${octave} wrapOctavePrograms "${lib.concatStringsSep " " packages}" + # We also need to modify the Exec= line of the desktop file, so it will point + # to the wrapper we generated above. + rm $out/share/applications # should be a symlink to ${octave}/share/applications + mkdir $out/share/applications + substitute \ + ${octave}/share/applications/org.octave.Octave.desktop \ + $out/share/applications/org.octave.Octave.desktop \ + --replace-fail ${octave}/bin/octave $out/bin/octave '' + postBuild; inherit (octave) meta; |