diff --git a/pkgs/development/compilers/rust/1_45.nix b/pkgs/development/compilers/rust/1_45.nix index f499fc9e9b08..2c695f1844dc 100644 --- a/pkgs/development/compilers/rust/1_45.nix +++ b/pkgs/development/compilers/rust/1_45.nix @@ -10,7 +10,7 @@ { stdenv, lib , buildPackages , newScope, callPackage -, CoreFoundation, Security +, CoreFoundation, Security, SystemConfiguration , pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost , makeRustPlatform , llvmPackages_5, llvm_10 diff --git a/pkgs/development/compilers/rust/1_55.nix b/pkgs/development/compilers/rust/1_55.nix index 715a82de5adf..edd1f538e398 100644 --- a/pkgs/development/compilers/rust/1_55.nix +++ b/pkgs/development/compilers/rust/1_55.nix @@ -12,7 +12,7 @@ { stdenv, lib , buildPackages , newScope, callPackage -, CoreFoundation, Security +, CoreFoundation, Security, SystemConfiguration , pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost , makeRustPlatform , llvmPackages_11 diff --git a/pkgs/development/compilers/rust/default.nix b/pkgs/development/compilers/rust/default.nix index 3e6f3a044fb4..7912055db624 100644 --- a/pkgs/development/compilers/rust/default.nix +++ b/pkgs/development/compilers/rust/default.nix @@ -14,7 +14,7 @@ { stdenv, lib , buildPackages , newScope, callPackage -, CoreFoundation, Security +, CoreFoundation, Security, SystemConfiguration , pkgsBuildTarget, pkgsBuildBuild , makeRustPlatform }: rec { @@ -104,7 +104,7 @@ inherit CoreFoundation Security; }; clippy = self.callPackage ./clippy.nix { inherit Security; }; - rls = self.callPackage ./rls { inherit CoreFoundation Security; }; + rls = self.callPackage ./rls { inherit CoreFoundation Security SystemConfiguration; }; }); }; } diff --git a/pkgs/development/compilers/rust/rls/default.nix b/pkgs/development/compilers/rust/rls/default.nix index aa55866def51..036031d98fae 100644 --- a/pkgs/development/compilers/rust/rls/default.nix +++ b/pkgs/development/compilers/rust/rls/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, makeWrapper, fetchFromGitHub, rustPlatform , openssh, openssl, pkg-config, cmake, zlib, curl, libiconv -, CoreFoundation, Security }: +, CoreFoundation, Security, SystemConfiguration }: rustPlatform.buildRustPackage rec { pname = "rls"; @@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config cmake makeWrapper ]; buildInputs = [ openssh openssl curl zlib libiconv rustPlatform.rust.rustc.llvm ] - ++ (lib.optionals stdenv.isDarwin [ CoreFoundation Security ]); + ++ lib.optionals stdenv.isDarwin [ CoreFoundation Security SystemConfiguration ]; doCheck = true; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d18d668f5748..384d972729f9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12407,11 +12407,11 @@ with pkgs; # # So this commit doesn't remove the 1.45.2 release. rust_1_45 = callPackage ../development/compilers/rust/1_45.nix { - inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; + inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; llvm_10 = llvmPackages_10.libllvm; }; rust_1_55 = callPackage ../development/compilers/rust/1_55.nix { - inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; + inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; llvm_12 = llvmPackages_12.libllvm; }; rust = rust_1_55;