Skip to content

Commit 5326be2

Browse files
committed
rm references to mkDevShell
1 parent 6811641 commit 5326be2

File tree

3 files changed

+6
-264
lines changed

3 files changed

+6
-264
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ new environment variables, which then need to be unset. The `stdenv` itself
3434
contains either GCC or Clang which makes it hard to select a specific C
3535
compiler.
3636

37-
This is why `mkDevShell` builds its environment from a `builtins.derivation`.
37+
This is why `mkShell` builds its environment from a `builtins.derivation`.
3838

3939
direnv loads will change from:
4040
```
@@ -65,11 +65,10 @@ those are useful yet:
6565
When entering a random project, it's useful to get a quick view of what
6666
commands are available.
6767

68-
When running `nix-shell` or `nix develop`, `mkDevShell` prints a welcome
69-
message:
68+
When running `nix-shell` or `nix develop`, `mkShell` prints a welcome message:
7069

7170
```
72-
### 🔨 Welcome to mkDevShell ####
71+
🔨 Welcome to devshell
7372
7473
# Commands
7574
@@ -90,13 +89,12 @@ handle 80% of the use-cases and falling back on Nix is always possible.
9089
Life is not complete otherwise. Huhu.
9190

9291
Packages that contain bash completions will automatically be loaded by
93-
`mkDevShell` in `nix-shell` or `nix develop` modes.
92+
`mkShell` in `nix-shell` or `nix develop` modes.
9493

9594
### Capture development dependencies in CI
9695

9796
With a CI + Binary cache setup, one often wants to be able to capture all the
98-
build inputs of a `shell.nix`. Before, `pkgs.mkShell` would even refuse to
99-
build! (my fault really). With `pkgs.mkDevShell`, capturing all of the
97+
build inputs of a `shell.nix`. With `mkShell` capturing all of the
10098
development dependencies is as easy as:
10199

102100
```sh

mkDevShell/options.nix

Lines changed: 0 additions & 256 deletions
This file was deleted.

overlay.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Import this overlay in your project to add devshell and mkDevShell
1+
# Import this overlay in your project to add devshell
22
final: prev:
33
{
44
devshell = import ./. { nixpkgs = final; };

0 commit comments

Comments
 (0)