Skip to content

Commit

Permalink
switch default to all package
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Sep 15, 2023
1 parent 12dbf8b commit 98c3f75
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,11 @@
};

packages = {
default = nargo;

# Nix flakes cannot build more than one derivation in one command (see https://github.com/NixOS/nix/issues/5591)
# so we use `symlinkJoin` to build everything as our default package.
default = pkgs.symlinkJoin { name = "noir"; paths = [ nargo noir_wasm noirc_abi_wasm ]; };
# so we use `symlinkJoin` to build everything as the "all" package.
all = pkgs.symlinkJoin { name = "all"; paths = [ nargo noir_wasm noirc_abi_wasm ]; };

# We also export individual packages to enable `nix build .#nargo -L`, etc.
inherit nargo;
Expand Down

0 comments on commit 98c3f75

Please sign in to comment.