Skip to content

Commit

Permalink
ci: use eachDefaultSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
CertainLach committed Mar 17, 2024
1 parent 00fbb91 commit d9720cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
rust-overlay,
...
}:
flake-utils.lib.eachSystem (with flake-utils.lib.system; [x86_64-linux x86_64-windows]) (
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = import nixpkgs {
inherit system;
Expand All @@ -34,6 +34,7 @@
};
in {
packages = rec {
default = jrsonnet;
go-jsonnet = pkgs.callPackage ./nix/go-jsonnet.nix {};
sjsonnet = pkgs.callPackage ./nix/sjsonnet.nix {};
jsonnet = pkgs.callPackage ./nix/jsonnet.nix {};
Expand Down
2 changes: 1 addition & 1 deletion nix/jrsonnet.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ in
nativeBuildInputs = [makeWrapper];

# To clean-up hyperfine output
postInstall = mkIf forBenchmarks ''
postInstall = optionalString forBenchmarks ''
wrapProgram $out/bin/jrsonnet --add-flags "--max-stack=200000 --os-stack=200000"
'';

Expand Down

0 comments on commit d9720cb

Please sign in to comment.