New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stdenv: bootstrap cmake and python on darwin #21596
Conversation
@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 ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose you or darwin maintainers are going to maintain this expression?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I separated this so changes in the default python expression won't necessarily cause a rebuild of the entire darwin world.
@@ -5176,9 +5176,13 @@ in | |||
inherit (stdenvAdapters) overrideCC; | |||
}; | |||
|
|||
llvmPackages_37 = callPackage ../development/compilers/llvm/3.7 { | |||
llvmPackages_37 = callPackage ../development/compilers/llvm/3.7 ({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure I should do this somewhere else but I couldn't get it working in the stdenv bootstrap phases.
Merging straight to master because of 125fa15 |
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
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
./result/bin/
)