on master help sign in
release.nix: Make the per-arch caches not pull in the other arch
commitff15209c15d218d38ba23da55e466368aa5ef5d1 authorJohn Ericson <John.Ericson@Obsidian.Systems> dateFri 4 Oct 2019, 17:04 (7 years ago) parentb85c9ee
1 file changed+8−3
release.nix+8−3
release.nix+8−3
@@ -58,7 +58,9 @@ let
5858 (builtins.attrValues ghcjs)
5959 (concatDepends ghc)
6060 (concatDepends ghcjs)
61− [command serverExeSkeleton iosSkeleton androidSkeleton]
61+ (lib.optional reflex-platform.androidSupport androidSkeleton)
62+ (lib.optional reflex-platform.iosSupport iosSkeleton)
63+ [ command serverExeSkeleton ]
6264 ];
6365 command = local-self.command;
6466 serverExeSkeleton = (import ./skeleton { obelisk = local-self; }).exe;
@@ -76,9 +78,12 @@ let
7678 command
7779 ghc ghcjs
7880 serverExeSkeleton
79− iosSkeleton
80− androidSkeleton;
81+ ;
8182 cache = reflex-platform.pinBuildInputs "obelisk-${system}" cachePackages;
83+ } // lib.optionalAttrs reflex-platform.androidSupport {
84+ inherit androidSkeleton;
85+ } // lib.optionalAttrs reflex-platform.iosSupport {
86+ inherit iosSkeleton;
8287 });
8388
8489 metaCache = local-self.pinBuildInputs