diff options
author | wucke13 <wucke13@gmail.com> | 2018-11-11 14:25:13 +0100 |
---|---|---|
committer | wucke13 <wucke13@gmail.com> | 2018-11-14 13:12:20 +0100 |
commit | c26b42be74591a63b95d29aca86872f3f67f71ed (patch) | |
tree | 20174a6c645e3802f5cb1e232678cb79164e6359 /pkgs/applications/science/robotics/qgroundcontrol | |
parent | 4fc8527697a81aa387dbfb892e6f7a71944f4d47 (diff) | |
download | nixpkgs-c26b42be74591a63b95d29aca86872f3f67f71ed.tar nixpkgs-c26b42be74591a63b95d29aca86872f3f67f71ed.tar.gz nixpkgs-c26b42be74591a63b95d29aca86872f3f67f71ed.tar.bz2 nixpkgs-c26b42be74591a63b95d29aca86872f3f67f71ed.tar.lz nixpkgs-c26b42be74591a63b95d29aca86872f3f67f71ed.tar.xz nixpkgs-c26b42be74591a63b95d29aca86872f3f67f71ed.tar.zst nixpkgs-c26b42be74591a63b95d29aca86872f3f67f71ed.zip |
qgroundcontrol: fixes #49870
The `.desktop` referenced a non existent script to run `QGroundControl`. This commits adds a `sed` command, which replaces the non existent script by the name of the `QGroundControl` binary in the relevant `.desktop` file.
Diffstat (limited to 'pkgs/applications/science/robotics/qgroundcontrol')
-rw-r--r-- | pkgs/applications/science/robotics/qgroundcontrol/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/science/robotics/qgroundcontrol/default.nix b/pkgs/applications/science/robotics/qgroundcontrol/default.nix index ce3317da9f8..eae5d3766d6 100644 --- a/pkgs/applications/science/robotics/qgroundcontrol/default.nix +++ b/pkgs/applications/science/robotics/qgroundcontrol/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation rec { cd .. mkdir -p $out/share/applications + sed 's/Exec=.*$/Exec=QGroundControl/g' --in-place deploy/qgroundcontrol.desktop cp -v deploy/qgroundcontrol.desktop $out/share/applications mkdir -p $out/bin |