Loading pkgs/development/interpreters/octave/build-env.nix +8 −0 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
pkgs/development/interpreters/octave/build-env.nix +8 −0 Original line number Diff line number Diff line Loading @@ -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; Loading