mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2025-12-27 16:54:57 +08:00
temp
This commit is contained in:
parent
a23029eb15
commit
00bfdf2c0f
12 changed files with 161 additions and 140 deletions
|
|
@ -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.
|
||||
|
||||
....
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue