0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

treewide: deprecate isNull

https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
This commit is contained in:
Felix Buehler 2023-03-05 22:08:45 +01:00
parent 794f34657e
commit d10e69c86b
30 changed files with 62 additions and 63 deletions

View file

@ -270,7 +270,7 @@ in
'';
})]);
environment.etc.${cfg.etcClusterAdminKubeconfig}.source = mkIf (!isNull cfg.etcClusterAdminKubeconfig)
environment.etc.${cfg.etcClusterAdminKubeconfig}.source = mkIf (cfg.etcClusterAdminKubeconfig != null)
clusterAdminKubeconfig;
environment.systemPackages = mkIf (top.kubelet.enable || top.proxy.enable) [