mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
nixpkgs: replace usage of deprecated traceValIfNot
This commit is contained in:
parent
5ea3bc169a
commit
6dbc6d43b5
1 changed files with 5 additions and 1 deletions
|
@ -30,7 +30,11 @@ let
|
|||
|
||||
configType = mkOptionType {
|
||||
name = "nixpkgs config";
|
||||
check = traceValIfNot isConfig;
|
||||
check = x:
|
||||
let traceXIfNot = c:
|
||||
if c x then true
|
||||
else lib.traceSeqN 1 x false;
|
||||
in traceXIfNot isConfig;
|
||||
merge = args: fold (def: mergeConfig def.value) {};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue