mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
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.
(cherry picked from commit c26b42be74)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user