Skip to content

Commit 1aed986

Browse files
fix: use devShells.default on template flake (#282)
1 parent cd4e2fd commit 1aed986

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

templates/toml/flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
outputs = { self, flake-utils, devshell, nixpkgs, ... }:
1313
flake-utils.lib.eachDefaultSystem (system: {
14-
devShell =
14+
devShells.default =
1515
let
1616
pkgs = import nixpkgs {
1717
inherit system;

templates/toml/shell.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ then
88
else "path";
99
in
1010
(builtins.getFlake "${scheme}://${toString ./.}")
11-
.devShell
11+
.devShells
1212
.${builtins.currentSystem}
13+
.default
1314

1415
# Otherwise we'll use the flake-compat shim
1516
else

0 commit comments

Comments
 (0)