| Commit message (Collapse) | Author | Age |
|\ |
|
| |
| |
| |
| |
| | |
The original form effectively forbade any NixOS configuration that is under
test to explicitly set the hostname.
|
| |
| |
| |
| |
| |
| |
| | |
See `forEach`-introduction commit.
```
rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /forEach /g'
```
|
| |
| |
| |
| | |
This reverts commit 3b0534310c89d04fc3a9c5714b5a4d0f9fb0efca.
|
|/
|
|
|
|
|
| |
See `foreach`-introduction commit.
```
rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /foreach /g'
```
|
|
|
|
|
|
|
|
|
| |
We differentiate between modules and baseModules in the
VM builder for NixOS tests. This way, nesting.children, eventhough
it doesn't inherit from parent, still has enough config to
actually complete the test. Otherwise, the qemu modules
would not be loaded, for example, and a nesting.children
statement would not evaluate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Because nesting.clone calls 'eval-config.nix' manually,
without the 'extraArgs' argument that provides the 'nodes'
argument to nixos modules in nixos tests, evaluating
of 'nesting.clone' definitions would fail with the following error
while evaluating the module argument `nodes' in "<redacted>"
while evaluating the attribute '_module.args.nodes' at undefined position:
attribute 'nodes' missing, at <redacted./nixpkgs/lib/modules.nix:163:28
by not using 'extraArgs' but a nixos module instead, the nodes parameter
gets propagated to the 'eval-config.nix' call that 'nesting.clone'
makes too - getting rid of the error.
See https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/activation/top-level.nix#L13-L23
See https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/build-vms.nix#L27
See https://github.com/NixOS/nixpkgs/issues/20886#issuecomment-495952149
|
| |
|
| |
|
|
|
|
|
| |
This way, the package set will be possible to pass without re-importing
all the time
|
|
|
|
| |
`documentation.nixos`
|
| |
|
| |
|
|
|
|
| |
I'm gonna use it in the next commit.
|
|
|
|
|
|
|
| |
Previously we were using two or three (qemu_kvm, qemu_test, and
qemu_test with a different dbus when minimal.nix is included).
(cherry picked from commit 8bfa4ce82ea7d23a1d4c6073bcc044e6bf9c4dbe)
|
|
|
|
| |
cc @edolstra
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is primarily to ensure that
-I nixpkgs=https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz
and
-I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz
and
-I nixpkgs=https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz
behave consistently.
It also allows installing packages via "nix-env -iA nixos.<pkg>"
rather than "nixos.pkgs.<pkg>". It would be even better to allow
"nixpkgs.<pkg>", but that requires a change to nix-channel.
Fixes #7659.
|
|
|
|
| |
This function is redundant (we also have zipLists).
|
| |
|
|
|
|
|
|
| |
86c0f8c""
This reverts commit 2f697bf6931b24cdd428e22effbf6427a85afd42.
|
|
|
|
| |
This reverts commit ea8910652fcecbcd4f21aa1c66b1a0a239408b04.
|
|
|
|
|
| |
This reverts commit b23fd6585481a42937e105d5fce630a549900e86, reversing
changes made to 43654cba2c280ce17b81db44993d1c1bcae3a9c6.
|
|
|
|
| |
This reverts commit 704e91bab005eabe968a3b140222fb0cf7afd4db.
|
| |
|
|
|
|
| |
subnetMask attributes
|
|
|
|
| |
Issue #1248.
|
| |
|
| |
|
|
|