3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #187635 from MatthewCroughan/mc/fix-godot-wrapper-recurse

This commit is contained in:
Lassulus 2022-08-20 22:35:49 +02:00 committed by GitHub
commit 6a84022c43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,6 +81,9 @@ stdenv.mkDerivation rec {
mkdir -p "$out/bin"
cp bin/godot.* $out/bin/godot
wrapProgram "$out/bin/godot" \
--set ALSA_PLUGIN_DIR ${alsa-plugins}/lib/alsa-lib
mkdir "$dev"
cp -r modules/gdnative/include $dev
@ -93,9 +96,6 @@ stdenv.mkDerivation rec {
cp icon.png "$out/share/icons/godot.png"
substituteInPlace "$out/share/applications/org.godotengine.Godot.desktop" \
--replace "Exec=godot" "Exec=$out/bin/godot"
makeWrapper $out/bin/godot $out/bin/godot \
--set ALSA_PLUGIN_DIR ${alsa-plugins}/lib/alsa-lib
'';
meta = with lib; {