This commit is contained in:
Amy de Buitléir 2025-09-14 20:49:57 +01:00
parent a23029eb15
commit 00bfdf2c0f
12 changed files with 161 additions and 140 deletions

View file

@ -101,7 +101,7 @@ We won't write `flake.nix` just yet.
First we'll try building the package manually.
(If you didn't run the `nix shell` command from <<python-nix-shell,earlier>>, do so now.)
....
$ python -m build
$ python -m build # Won't work
....
The missing module error happens because we don't have `build` available
@ -198,11 +198,11 @@ $# cat flake.nix
Let's try out the new flake.
....
$ nix build
$ nix build # Won't work
....
Why can't it find `flake.nix`? Nix flakes only "`see`" files that are
part of the repository. We need to add all of the important files to the
Nix flakes only "`see`" files that are part of the repository.
We need to add all of the important files to the
repo before building or running the flake.
....