Skip to content

Commit

Permalink
holochainDev
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Sep 11, 2024
1 parent a8f6e60 commit 2887a7f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,15 @@ rec {
] ++ flake.lib.holochainDeps { inherit pkgs lib; };
};

devShells.holochainDev = pkgs.mkShell {
stdenv = if pkgs.stdenv.isDarwin then
pkgs.overrideSDK pkgs.stdenv "11.0"
else
pkgs.stdenv;

packages = flake.lib.holochainDeps { inherit pkgs lib; };
};

packages.npm-warning = pkgs.writeShellScriptBin "echo-npm-warning" ''
echo "
-----------------
Expand Down
2 changes: 1 addition & 1 deletion nix/fixtures/module-repo/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions nix/fixtures/module-repo/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@
devShells.default = pkgs.mkShell {
inputsFrom = [
inputs'.hc-infra.devShells.synchronized-pnpm
inputs'.hc-infra.devShells.holochainDev
# inputs'.hc-infra.devShells.zomeDev
# inputs'.hc-infra.devShells.sweettestDev
inputs'.holonix.devShells.default
];
packages = [ pkgs.nodejs_20 ];

};
};
};
Expand Down

0 comments on commit 2887a7f

Please sign in to comment.