nixos/nixpkgs: show definition files in config
assertion
This commit is contained in:
parent
1bd4da1848
commit
6d9dfef94f
@ -387,6 +387,9 @@ in
|
|||||||
|
|
||||||
Current value:
|
Current value:
|
||||||
${lib.generators.toPretty { multiline = true; } cfg.config}
|
${lib.generators.toPretty { multiline = true; } cfg.config}
|
||||||
|
|
||||||
|
Defined in:
|
||||||
|
${lib.concatMapStringsSep "\n" (file: " - ${file}") opt.config.files}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@ -17,6 +17,7 @@ let
|
|||||||
nixpkgs.buildPlatform = "aarch64-linux";
|
nixpkgs.buildPlatform = "aarch64-linux";
|
||||||
};
|
};
|
||||||
externalPkgsWithConfig = {
|
externalPkgsWithConfig = {
|
||||||
|
_file = "ext-pkgs-config.nix";
|
||||||
nixpkgs.pkgs = pkgs;
|
nixpkgs.pkgs = pkgs;
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
@ -122,6 +123,9 @@ lib.recurseIntoAttrs {
|
|||||||
{
|
{
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Defined in:
|
||||||
|
- ext-pkgs-config.nix
|
||||||
''];
|
''];
|
||||||
assert getErrors {
|
assert getErrors {
|
||||||
nixpkgs.localSystem = pkgs.stdenv.hostPlatform;
|
nixpkgs.localSystem = pkgs.stdenv.hostPlatform;
|
||||||
|
Loading…
Reference in New Issue
Block a user