mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #45609 from wucke13/apmplanner2
apmplanner2: fixed wrong path in .desktop file
This commit is contained in:
commit
ea6279c301
1 changed files with 6 additions and 2 deletions
|
@ -23,8 +23,12 @@ stdenv.mkDerivation rec {
|
||||||
qmakeFlags = [ "apm_planner.pro" ];
|
qmakeFlags = [ "apm_planner.pro" ];
|
||||||
|
|
||||||
# this ugly hack is necessary, as `bin/apmplanner2` needs the contents of `share/APMPlanner2` inside of `bin/`
|
# this ugly hack is necessary, as `bin/apmplanner2` needs the contents of `share/APMPlanner2` inside of `bin/`
|
||||||
preFixup = "ln --relative --symbolic $out/share/APMPlanner2/* $out/bin/";
|
preFixup = ''
|
||||||
|
ln --relative --symbolic $out/share/APMPlanner2/* $out/bin/
|
||||||
|
substituteInPlace $out/share/applications/apmplanner2.desktop \
|
||||||
|
--replace /usr $out
|
||||||
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue