From dd78e629aa8bf53015592b41cbbb4482584f404f Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Mon, 10 Dec 2018 18:22:03 -0600 Subject: [PATCH] treewide: use "buildPackages" darwin for bootstrap_cmds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are almost always from buildPackages. Another issue where splicing doesn’t seem to pick them up correctly. (cherry picked from commit 9ab67898f75be85acc2406f2110690b16d1f9b0a) --- pkgs/top-level/all-packages.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dd963b6ee010..fd7559ead149 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6319,7 +6319,7 @@ with pkgs; }; ccl = callPackage ../development/compilers/ccl { - inherit (darwin) bootstrap_cmds; + inherit (buildPackages.darwin) bootstrap_cmds; }; chez = callPackage ../development/compilers/chez { @@ -8772,7 +8772,7 @@ with pkgs; jhiccup = callPackage ../development/tools/java/jhiccup { }; valgrind = callPackage ../development/tools/analysis/valgrind { - inherit (darwin) xnu bootstrap_cmds cctools; + inherit (buildPackages.darwin) xnu bootstrap_cmds cctools; llvm = llvm_39; }; valgrind-light = self.valgrind.override { gdb = null; }; @@ -10033,7 +10033,7 @@ with pkgs; kinetic-cpp-client = callPackage ../development/libraries/kinetic-cpp-client { }; krb5 = callPackage ../development/libraries/kerberos/krb5.nix { - inherit (darwin) bootstrap_cmds; + inherit (buildPackages.darwin) bootstrap_cmds; }; krb5Full = krb5; libkrb5 = krb5.override { @@ -13574,7 +13574,7 @@ with pkgs; xorg = recurseIntoAttrs ((lib.callPackageWith __splicedPackages ../servers/x11/xorg { }).overrideScope' (lib.callPackageWith __splicedPackages ../servers/x11/xorg/overrides.nix { inherit (darwin) apple_sdk; - bootstrap_cmds = if stdenv.isDarwin then darwin.bootstrap_cmds else null; + bootstrap_cmds = if stdenv.isDarwin then buildPackages.darwin.bootstrap_cmds else null; python = python2; # Incompatible with Python 3x udev = if stdenv.isLinux then udev else null; libdrm = if stdenv.isLinux then libdrm else null;