Skip to content

Commit 3daadf3

Browse files
authored
Update nixpkgs URL for flake migration tutorial (#93)
1 parent 953d01f commit 3daadf3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/src/content/docs/tutorials/migrate-flake-parts.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Suppose you have a flake-parts enabled flake that looks like:
1212
# flake.nix
1313
{
1414
inputs = { # (A) So much inputs
15-
nixpkgs.url = "github:nixos/nixpkgs/unstable";
15+
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
1616
flake-parts.url = "github:hercules-ci/flake-parts";
1717
foo.url = "github:coolguy/foo";
1818
bar.url = "github:coolguy/bar";
@@ -98,7 +98,7 @@ Edit `./modules/inputs.nix` module to add in-flake flake-file.
9898

9999
imports = [
100100
# enable inside-flake and say goodbye to bootstrap
101-
+ inputs.flake-file.flakeModule
101+
+ inputs.flake-file.flakeModules.default
102102

103103
# start splitting from inputs.nix into other files
104104
];
@@ -117,4 +117,4 @@ Commands for your daily life:
117117
nix run .#write-flake # whenever you need to regen flake.nix
118118

119119
nix flake check # will make sure your flake.nix is up-to-date
120-
```
120+
```

0 commit comments

Comments
 (0)