mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
nixos/lib/testing.nix: config defaults to {}
Fixes #51858
56e12aae54
ends up passing config to pkgs. Unfortunately this might be null and pkgs/top-level/default.nix assumes it is an attrset. To fix this, we just make the default for config = {}. Thanks to @kristoff3r for tracking this down.
/cc @domenkozar
This commit is contained in:
parent
c871a5cdf7
commit
878965731f
@ -3,7 +3,7 @@
|
|||||||
# Use a minimal kernel?
|
# Use a minimal kernel?
|
||||||
, minimal ? false
|
, minimal ? false
|
||||||
# Ignored
|
# Ignored
|
||||||
, config ? null
|
, config ? {}
|
||||||
# Modules to add to each VM
|
# Modules to add to each VM
|
||||||
, extraConfigurations ? [] }:
|
, extraConfigurations ? [] }:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user