Skip to content

Commit

Permalink
Don't build shells twice
Browse files Browse the repository at this point in the history
  • Loading branch information
nmattia committed Nov 25, 2019
1 parent d85325f commit bcbe822
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nix/overlays/dfinity-sdk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ let
rust-workspace = rust-package.build;
in {
dfinity-sdk = rec {
packages = rust-package // rec {
packages =
# remove the shell since it's being built below in "shells"
removeAttrs rust-package [ "shell" ] // rec {
inherit rust-workspace;
rust-workspace-debug = rust-package.debug;
js-user-library = super.callPackage ../../js-user-library/package.nix {
Expand Down

0 comments on commit bcbe822

Please sign in to comment.