mirror of
https://github.com/gytis-ivaskevicius/flake-utils-plus.git
synced 2024-09-11 08:05:47 +03:00
Fix #106 generateNixPathFromInputs == true && linkInputs == false should be an error
This commit is contained in:
parent
546045090f
commit
1c8926cd26
@ -24,6 +24,13 @@ in
|
||||
};
|
||||
|
||||
config = {
|
||||
assertions = [
|
||||
{
|
||||
assertion = !config.nix.generateNixPathFromInputs || config.nix.linkInputs;
|
||||
message = "When using 'nix.generateNixPathFromInputs' please make sure to set 'nix.linkInputs = true'";
|
||||
}
|
||||
];
|
||||
|
||||
nix.registry =
|
||||
if config.nix.generateRegistryFromInputs
|
||||
then nixRegistry
|
||||
|
Loading…
Reference in New Issue
Block a user