Skip to content

Commit

Permalink
add explicit default shell attribute to the nix configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Unisay committed Mar 27, 2023
1 parent 08b2681 commit 2d61f74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 1 addition & 6 deletions docs/contributing/Updating-Dependencies.md
Expand Up @@ -13,12 +13,7 @@ in a nix cache -- in which case the build result will be downloaded instead.

The default `nix develop` contains build tools, utilities and GHC
configured with a global package-db which matches `cabal.project`. This
is defined in the `devShell` attribute of `flake.nix`.

## Buildkite

On Buildkite, the project will be built with `cabal build` in a particular Nix shell. The Nix shell provisioned is defined by [`nix/cabal-shell.nix`](https://github.com/input-output-hk/cardano-wallet/blob/master/nix/cabal-shell.nix). If there is a program that is needed by the
build or tests, make sure that it is present there.
is defined in the `devShells.default` attribute of `flake.nix`.

## nix flake lock

Expand Down
1 change: 1 addition & 0 deletions flake.nix
Expand Up @@ -317,6 +317,7 @@
};

mkDevShells = project: rec {
default = project.shell;
profiled = (project.appendModule { profiling = true; }).shell;

docs = pkgs.mkShell {
Expand Down

0 comments on commit 2d61f74

Please sign in to comment.