Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/src/content/docs/tutorials/migrate-flake-parts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Suppose you have a flake-parts enabled flake that looks like:
# flake.nix
{
inputs = { # (A) So much inputs
nixpkgs.url = "github:nixos/nixpkgs/unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
foo.url = "github:coolguy/foo";
bar.url = "github:coolguy/bar";
Expand Down Expand Up @@ -98,7 +98,7 @@ Edit `./modules/inputs.nix` module to add in-flake flake-file.

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

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

nix flake check # will make sure your flake.nix is up-to-date
```
```
Loading