ma pkgs.ns-usbloader: use wrapGappsHook
This commit is contained in:
parent
4156d2ed15
commit
c3adb252af
@ -13,7 +13,7 @@
|
|||||||
# ./x230
|
# ./x230
|
||||||
|
|
||||||
# Common Hardware Components
|
# Common Hardware Components
|
||||||
|
<nix-ld/modules/nix-ld.nix>
|
||||||
# <stockholm/makefu/2configs/hw/mceusb.nix>
|
# <stockholm/makefu/2configs/hw/mceusb.nix>
|
||||||
# <stockholm/makefu/2configs/hw/rtl8812au.nix>
|
# <stockholm/makefu/2configs/hw/rtl8812au.nix>
|
||||||
<stockholm/makefu/2configs/hw/network-manager.nix>
|
<stockholm/makefu/2configs/hw/network-manager.nix>
|
||||||
@ -26,6 +26,7 @@
|
|||||||
<stockholm/makefu/2configs/hw/droidcam.nix>
|
<stockholm/makefu/2configs/hw/droidcam.nix>
|
||||||
<stockholm/makefu/2configs/hw/smartcard.nix>
|
<stockholm/makefu/2configs/hw/smartcard.nix>
|
||||||
<stockholm/makefu/2configs/hw/upower.nix>
|
<stockholm/makefu/2configs/hw/upower.nix>
|
||||||
|
<stockholm/makefu/2configs/hw/nswitch.nix>
|
||||||
#<stockholm/makefu/2configs/hw/ps4-compat.nix>
|
#<stockholm/makefu/2configs/hw/ps4-compat.nix>
|
||||||
|
|
||||||
# base
|
# base
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, makeWrapper, jre }:
|
{ lib, stdenv, fetchurl, makeWrapper, wrapGAppsHook, glib , jre }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ns-usbloader-${version}";
|
name = "ns-usbloader-${version}";
|
||||||
@ -10,7 +10,6 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
|
||||||
buildInputs = [ jre ];
|
buildInputs = [ jre ];
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
@ -22,6 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
--add-flags "-jar $out/ns-usbloader/ns-usbloader.jar"
|
--add-flags "-jar $out/ns-usbloader/ns-usbloader.jar"
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
nativeBuildInputs = [ glib wrapGAppsHook makeWrapper ];
|
||||||
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user