on master help sign in
Ignore broken packages in relase.nix
cbff16aJohn Ericson
all-builds.nix+13−5
@@ -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) [
71+ command
72+ serverSkeletonExe
70− [ command serverSkeletonExe serverSkeletonShell ]
73+ serverSkeletonShell
74+ ])
71 ];
75 ];
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";
84 in {
88 in {
89+ inherit
90+ ghc
91+ ;
92+ cache = reflex-platform.pinBuildInputs "obelisk-${system}-${nameSuffix}" cachePackages;
93+ } // lib.optionalAttrs (!profiling) {
85 inherit
94 inherit
86 command
95 command
87− ghc ghcjs
96+ ghcjs
88 serverSkeletonExe
97 serverSkeletonExe
89 serverSkeletonShell
98 serverSkeletonShell
90 ;
99 ;
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 {