wrapGAppsHook: move to a separate file

This commit is contained in:
Jan Tojnar 2020-04-11 15:02:25 +02:00
parent 5717d9d2f7
commit 69b89979ba
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
3 changed files with 17 additions and 3 deletions

View 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

View File

@ -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;