wrapGAppsHook: move to a separate file
This commit is contained in:
parent
5717d9d2f7
commit
69b89979ba
16
pkgs/build-support/setup-hooks/wrap-gapps-hook/default.nix
Normal file
16
pkgs/build-support/setup-hooks/wrap-gapps-hook/default.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, makeSetupHook
|
||||||
|
, makeWrapper
|
||||||
|
, gtk3
|
||||||
|
, librsvg
|
||||||
|
, dconf
|
||||||
|
}:
|
||||||
|
|
||||||
|
makeSetupHook {
|
||||||
|
deps = lib.optional (!stdenv.isDarwin) dconf.lib ++ [
|
||||||
|
gtk3
|
||||||
|
librsvg
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
|
} ./wrap-gapps-hook.sh
|
@ -502,9 +502,7 @@ in
|
|||||||
|
|
||||||
findXMLCatalogs = makeSetupHook { } ../build-support/setup-hooks/find-xml-catalogs.sh;
|
findXMLCatalogs = makeSetupHook { } ../build-support/setup-hooks/find-xml-catalogs.sh;
|
||||||
|
|
||||||
wrapGAppsHook = makeSetupHook {
|
wrapGAppsHook = callPackage ../build-support/setup-hooks/wrap-gapps-hook { };
|
||||||
deps = lib.optional (!stdenv.isDarwin) dconf.lib ++ [ gtk3 librsvg makeWrapper ];
|
|
||||||
} ../build-support/setup-hooks/wrap-gapps-hook.sh;
|
|
||||||
|
|
||||||
separateDebugInfo = makeSetupHook { } ../build-support/setup-hooks/separate-debug-info.sh;
|
separateDebugInfo = makeSetupHook { } ../build-support/setup-hooks/separate-debug-info.sh;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user