3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/doc/manual
Naïm Favier 9c2266c031
lib.types.package: only call toDerivation when necessary
The current logic assumes that everything that isn't a derivation is a
store path, but it can also be something that's *coercible* to a store
path, like a flake input.

Unnecessary uses of `lib.toDerivation` result in errors in pure evaluation
mode when `builtins.storePath` is disabled.

Also document what a `package` is.
2022-03-11 11:26:34 +01:00
..
administration
configuration
development lib.types.package: only call toDerivation when necessary 2022-03-11 11:26:34 +01:00
from_md lib.types.package: only call toDerivation when necessary 2022-03-11 11:26:34 +01:00
installation nixos/manual: use system nixpkgs to build pxe image 2022-02-16 22:22:32 +03:00
release-notes Merge pull request #157923 from tim-tx/update/dendrite-0.6.0 2022-03-08 12:51:04 +01:00
.gitignore
contributing-to-this-manual.chapter.md
default.nix
Makefile
man-configuration.xml
man-nixos-build-vms.xml
man-nixos-enter.xml
man-nixos-generate-config.xml
man-nixos-install.xml
man-nixos-option.xml
man-nixos-rebuild.xml
man-nixos-version.xml
man-pages.xml
manual.xml
md-to-db.sh
preface.xml
README.md
shell.nix