Skip to content

Commit

Permalink
Workaround eval failure in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfmpe committed Dec 20, 2024
1 parent 2ba24b0 commit 86d56e8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions release.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
{ supportedSystems ? [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ]
}:
let
obelisk = import ./. {};
pkgs = obelisk.nixpkgs;
recurse = x: x // { recurseForDerivations = true; };
in
recurse (pkgs.lib.genAttrs supportedSystems (system:
let
skeleton = import ./skeleton { inherit system; };
in with skeleton; recurse ({
inherit exe;
inherit (obelisk.marsObelisk.hsPkgs) obelisk-selftest;
} // pkgs.lib.optionalAttrs (system == "x86_64-linux") {
android-app = example.android.app.aarch64;
} // pkgs.lib.optionalAttrs (system == "x86_64-darwin") {
ios-app = recurse ios.app;
})))

/*
rec {
recurseForDerivations = true;
build = import ./all-builds.nix { inherit supportedSystems; };
test = import ./all-tests.nix { inherit supportedSystems; };
inherit (build) metaCache;
}
*/

0 comments on commit 86d56e8

Please sign in to comment.