lol

nixos/nixpkgs: remove unused binding

figsoda fd4f8656 ca6c2c21

+2 -7
+2 -7
nixos/modules/misc/nixpkgs.nix
··· 23 23 optionalAttrs (lhs ? packageOverrides) { 24 24 packageOverrides = pkgs: 25 25 optCall lhs.packageOverrides pkgs // 26 - optCall (attrByPath ["packageOverrides"] ({}) rhs) pkgs; 26 + optCall (attrByPath [ "packageOverrides" ] { } rhs) pkgs; 27 27 } // 28 28 optionalAttrs (lhs ? perlPackageOverrides) { 29 29 perlPackageOverrides = pkgs: 30 30 optCall lhs.perlPackageOverrides pkgs // 31 - optCall (attrByPath ["perlPackageOverrides"] ({}) rhs) pkgs; 31 + optCall (attrByPath [ "perlPackageOverrides" ] { } rhs) pkgs; 32 32 }; 33 33 34 34 configType = mkOptionType { ··· 67 67 # Context for messages 68 68 hostPlatformLine = optionalString hasHostPlatform "${showOptionWithDefLocs opt.hostPlatform}"; 69 69 buildPlatformLine = optionalString hasBuildPlatform "${showOptionWithDefLocs opt.buildPlatform}"; 70 - platformLines = optionalString hasPlatform '' 71 - Your system configuration configures nixpkgs with platform parameters: 72 - ${hostPlatformLine 73 - }${buildPlatformLine 74 - }''; 75 70 76 71 legacyOptionsDefined = 77 72 optional (opt.localSystem.highestPrio < (mkDefault {}).priority) opt.system