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