mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
rename.nix: Remove annoying traces
This commit is contained in:
parent
497aeabd23
commit
e0f35b77d8
@ -28,8 +28,8 @@ let
|
|||||||
zipModules = list: with pkgs.lib;
|
zipModules = list: with pkgs.lib;
|
||||||
zip (n: v:
|
zip (n: v:
|
||||||
if tail v != [] then
|
if tail v != [] then
|
||||||
if n == "_type" then builtins.trace "Merge _type" (head v)
|
if n == "_type" then (head v)
|
||||||
else if n == "extraConfigs" then builtins.trace "Merge extraConfigs" (concatLists v)
|
else if n == "extraConfigs" then (concatLists v)
|
||||||
else if n == "description" || n == "apply" then
|
else if n == "description" || n == "apply" then
|
||||||
abort "Cannot rename an option to multiple options."
|
abort "Cannot rename an option to multiple options."
|
||||||
else zipModules v
|
else zipModules v
|
||||||
|
Loading…
Reference in New Issue
Block a user