mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-16 14:01:08 +01:00
nixpkgs-disabled: fix useGlobalPkgs assertion (#6172)
This fixes the assertion that `config.nixpkgs` cannot be set if `useGlobalPkgs` is enabled
This commit is contained in:
parent
45c07fcf7d
commit
eb44c1601e
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ in {
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
assertions = [{
|
assertions = [{
|
||||||
assertion = cfg.config == null || cfg.overlays == null;
|
assertion = cfg.config == null && cfg.overlays == null;
|
||||||
message = ''
|
message = ''
|
||||||
`nixpkgs` options are disabled when `home-manager.useGlobalPkgs` is enabled.
|
`nixpkgs` options are disabled when `home-manager.useGlobalPkgs` is enabled.
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue