Disallow uninitialized meta.nixpkgs in Flakes

This commit is contained in:
Zhaofeng Li 2021-10-28 17:10:58 -07:00
parent 765f42fa24
commit f7eb121260
3 changed files with 27 additions and 6 deletions

View file

@ -143,7 +143,9 @@ Here is a short example:
outputs = { nixpkgs, ... }: {
colmena = {
meta = {
inherit nixpkgs;
nixpkgs = import nixpkgs {
system = "x86_64-linux";
};
};
# Also see the non-Flakes hive.nix example above.