stdenv: bootstrap cmake and python on darwin #21596

merged 1 commit into from Jan 3, 2017


None yet

3 participants

LnL7 commented Jan 2, 2017
Motivation for this change

Use bootstrap versions of cmake and python to get some dependencies like curl, libarchive and sqlite out of the stdenv.

/cc @copumpkin

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change: lnl7-wip
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits


@LnL7, thanks for your PR! By analyzing the history of the files in this pull request, we identified @dtzWill, @vcunat and @gridaphobe to be potential reviewers.

+ '';
+ license = stdenv.lib.licenses.psfl;
+ platforms = stdenv.lib.platforms.all;
+ maintainers = with stdenv.lib.maintainers; [ lnl7 chaoflow domenkozar ];
FRidh Jan 2, 2017 edited Member

I suppose you or darwin maintainers are going to maintain this expression?

LnL7 Jan 2, 2017 Contributor

Yes, I separated this so changes in the default python expression won't necessarily cause a rebuild of the entire darwin world.

FRidh approved these changes Jan 2, 2017 View changes
@@ -5176,9 +5176,13 @@ in
inherit (stdenvAdapters) overrideCC;
- llvmPackages_37 = callPackage ../development/compilers/llvm/3.7 {
+ llvmPackages_37 = callPackage ../development/compilers/llvm/3.7 ({
LnL7 Jan 2, 2017 Contributor

I'm pretty sure I should do this somewhere else but I couldn't get it working in the stdenv bootstrap phases.

@LnL7 LnL7 changed the base branch to NixOS:master from NixOS:staging Jan 3, 2017
LnL7 commented Jan 3, 2017

Merging straight to master because of 125fa15

@LnL7 LnL7 merged commit 0778a1c into NixOS:master Jan 3, 2017

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment