mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-18 03:50:12 -04:00
c91af2ecc1
When switching from the nix repl to a nix file, `derivation` was replaced with `pkgs.stdenv.mkDerivation`. This was not explained, and the examples work fine without this. It seems to me that when learning that you can define the derivation in a nix file instead of in the repl, there's no need to add another change. I see that the next chapter uses plain `derivation` in the first examples, and then defines a new function `mkDerivation`. So I'm pretty certain that we should just use plain `derivation` here. |
||
---|---|---|
.github/workflows | ||
pills | ||
theme | ||
.editorconfig | ||
.gitignore | ||
book.toml | ||
custom.css | ||
default.nix | ||
LICENSE | ||
README.md | ||
release.nix |
Nix Pills
Available online as a multi-page HTML or an e-book in EPUB format.
You can also build them locally:
nix-build release.nix -A html-split && firefox result/share/doc/nix-pills/index.html
Similarly, for an EPUB version, run:
nix-build release.nix -A epub && foliate result/share/doc/nix-pills/nix-pills.epub