@@ -62,12 +62,16 @@ let
62 obeliskPackagesCommon;
62 obeliskPackagesCommon;
63 cachePackages = builtins.concatLists [
63 cachePackages = builtins.concatLists [
64 (builtins.attrValues ghc)
64 (builtins.attrValues ghc)
65− (builtins.attrValues ghcjs)
65+ (lib.optionals (!profiling) (builtins.attrValues ghcjs))
66 (concatDepends ghc)
66 (concatDepends ghc)
67− (concatDepends ghcjs)
67+ (lib.optionals (!profiling) (concatDepends ghcjs))
68 (lib.optional reflex-platform.androidSupport androidSkeleton)
68 (lib.optional reflex-platform.androidSupport androidSkeleton)
69 (lib.optional reflex-platform.iosSupport iosSkeleton)
69 (lib.optional reflex-platform.iosSupport iosSkeleton)
70+ (lib.optionals (!profiling) [
70− [ command serverSkeletonExe serverSkeletonShell ]
73+ serverSkeletonShell
72 command = obelisk.command;
76 command = obelisk.command;
73 skeleton = import ./skeleton { inherit obelisk; };
77 skeleton = import ./skeleton { inherit obelisk; };
@@ -82,13 +86,17 @@ let
82 iosSkeleton = (import ./skeleton { inherit obelisk; }).ios.frontend;
86 iosSkeleton = (import ./skeleton { inherit obelisk; }).ios.frontend;
83 nameSuffix = if profiling then "profiled" else "unprofiled";
87 nameSuffix = if profiling then "profiled" else "unprofiled";
92+ cache = reflex-platform.pinBuildInputs "obelisk-${system}-${nameSuffix}" cachePackages;
93+ } // lib.optionalAttrs (!profiling) {
88 serverSkeletonExe
97 serverSkeletonExe
89 serverSkeletonShell
98 serverSkeletonShell
91− cache = reflex-platform.pinBuildInputs "obelisk-${system}-${nameSuffix}" cachePackages;
92 } // lib.optionalAttrs reflex-platform.androidSupport {
100 } // lib.optionalAttrs reflex-platform.androidSupport {
93 inherit androidSkeleton;
101 inherit androidSkeleton;
94 } // lib.optionalAttrs reflex-platform.iosSupport {
102 } // lib.optionalAttrs reflex-platform.iosSupport {