Loading pkgs/by-name/op/opengamepadui/package.nix +17 −29 Original line number Diff line number Diff line { alsa-lib, autoPatchelfHook, cargo, dbus, fetchFromGitHub, Loading Loading @@ -43,34 +42,12 @@ stdenv.mkDerivation (finalAttrs: { cargoRoot = "extensions"; nativeBuildInputs = [ autoPatchelfHook cargo godot_4_4 godot_4_4.export-templates-bin pkg-config rustPlatform.cargoSetupHook ]; runtimeDependencies = [ alsa-lib dbus gamescope hwdata libGL libpulseaudio mesa-demos udev upower vulkan-loader xorg.libX11 xorg.libXcursor xorg.libXext xorg.libXi xorg.libXrandr xorg.libXres xorg.libXtst ]; dontStrip = withDebug; env = Loading @@ -81,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: { GODOT = lib.getExe godot_4_4; GODOT_VERSION = lib.elemAt versionAndRelease 0; GODOT_RELEASE = lib.elemAt versionAndRelease 1; EXPORT_TEMPLATE = "${godot_4_4.export-templates-bin}/share/godot/export_templates"; EXPORT_TEMPLATE = "${godot_4_4.export-template}/share/godot/export_templates"; BUILD_TYPE = "${finalAttrs.buildType}"; }; Loading @@ -96,10 +73,21 @@ stdenv.mkDerivation (finalAttrs: { ln -s "$EXPORT_TEMPLATE" "$HOME"/.local/share/godot/ ''; postInstall = '' postInstall = let runtimeDependencies = [ gamescope hwdata mesa-demos udev upower ]; in '' # The Godot binary looks in "../lib" for gdextensions mkdir -p $out/share/lib mv $out/share/opengamepadui/*.so $out/share/lib patchelf --add-rpath ${lib.makeLibraryPath runtimeDependencies} $out/share/lib/*.so ''; passthru.updateScript = nix-update-script { }; Loading Loading
pkgs/by-name/op/opengamepadui/package.nix +17 −29 Original line number Diff line number Diff line { alsa-lib, autoPatchelfHook, cargo, dbus, fetchFromGitHub, Loading Loading @@ -43,34 +42,12 @@ stdenv.mkDerivation (finalAttrs: { cargoRoot = "extensions"; nativeBuildInputs = [ autoPatchelfHook cargo godot_4_4 godot_4_4.export-templates-bin pkg-config rustPlatform.cargoSetupHook ]; runtimeDependencies = [ alsa-lib dbus gamescope hwdata libGL libpulseaudio mesa-demos udev upower vulkan-loader xorg.libX11 xorg.libXcursor xorg.libXext xorg.libXi xorg.libXrandr xorg.libXres xorg.libXtst ]; dontStrip = withDebug; env = Loading @@ -81,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: { GODOT = lib.getExe godot_4_4; GODOT_VERSION = lib.elemAt versionAndRelease 0; GODOT_RELEASE = lib.elemAt versionAndRelease 1; EXPORT_TEMPLATE = "${godot_4_4.export-templates-bin}/share/godot/export_templates"; EXPORT_TEMPLATE = "${godot_4_4.export-template}/share/godot/export_templates"; BUILD_TYPE = "${finalAttrs.buildType}"; }; Loading @@ -96,10 +73,21 @@ stdenv.mkDerivation (finalAttrs: { ln -s "$EXPORT_TEMPLATE" "$HOME"/.local/share/godot/ ''; postInstall = '' postInstall = let runtimeDependencies = [ gamescope hwdata mesa-demos udev upower ]; in '' # The Godot binary looks in "../lib" for gdextensions mkdir -p $out/share/lib mv $out/share/opengamepadui/*.so $out/share/lib patchelf --add-rpath ${lib.makeLibraryPath runtimeDependencies} $out/share/lib/*.so ''; passthru.updateScript = nix-update-script { }; Loading