summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
* Merge pull request #40933 from obsidiansystems/linux-to-darwinJohn Ericson2018-05-23
|\ | | | | stdenv, binutils: Build cctools targeting macOS on Linux without pointless rebuilds
| * stdenv: Avoid targetPlatform.isDarwin causing a mass rebuildJohn Ericson2018-05-23
| | | | | | | | | | | | | | We want `buildPackages` to be almost the same as `buildPackages.buildPackges`, but that is only true if most packages don't care about the target platform. The commented code however made them all care about whether the target platform was Darwin.
* | Merge pull request #40992 from obsidiansystems/stdenv-darwin-persistJohn Ericson2018-05-23
|\| | | | | darwin stdenv: Properly compose overrides
| * darwin stdenv: Properly compose overridesJohn Ericson2018-05-23
| | | | | | | | `super` usage was very suspect.
* | Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-05-23
|\|
| * darwin stdenv: Persist `darwin.binutils-unwrapped`John Ericson2018-05-23
| | | | | | | | | | binutils-unwrapped was added in ef3db7d14c90e1876d38ebc25428b4f65962ffbc and needs a corresponding `persisted` attr in the Darwin stdenv.
* | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2018-05-18
|\| | | | | | | | | Conflicts: pkgs/top-level/all-packages.nix
| * androidndk: Fix usage as crossSystemBastian Köcher2018-05-17
| |
* | stdenv cross adapter: Don't define crossConfigJohn Ericson2018-05-14
| | | | | | | | All its uses have been removed.
* | Merge remote-tracking branch 'upstream/staging' into strictDepsJohn Ericson2018-05-14
|\ \
| * \ Merge pull request #40040 from obsidiansystems/gnu-config-armJohn Ericson2018-05-14
| |\ \ | | | | | | | | gnu-config: Update, allowing hacks to be removed
| | * | Merge remote-tracking branch 'upstream/master' into gnu-config-armJohn Ericson2018-05-14
| | |\|
| * | | Revert "darwin.libSystem: multiple outputs"Daiderd Jordan2018-05-13
| | | | | | | | | | | | | | | | | | | | | | | | Broke the stdenv. This reverts commit 69d1b7ab79cc5e46d4b419cfe95c30e58f801a85.
| * | | Merge master into stagingFrederik Rietdijk2018-05-09
| |\ \ \ | | | |/ | | |/|
| | * | Merge pull request #40154 from obsidiansystems/stdenv-arm-aliasJohn Ericson2018-05-08
| | |\ \ | | | | | | | | | | stdenv: Put back isArm, with deprecation notice.
| * | \ \ Merge pull request #40139 from obsidiansystems/modular-setup-hooksJohn Ericson2018-05-07
| |\ \ \ \ | | | | | | | | | | | | treewide: Modular setup hooks
| | * | | | stdenv: Support concatenating setup hooks from multiple parts.John Ericson2018-05-07
| | |/ / /
| * | | | stdenv: add libSystem.dev to allowedRequisitesMatthew Justin Bauer2018-05-03
| | | | |
| * | | | Merge branch 'staging' into fix-ncurses-darwin-extensionsMatthew Justin Bauer2018-05-02
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | Merge pull request #39464 from oxij/stdenv/docheck-infraMichael Raskin2018-04-30
| | |\ \ \ | | | | | | | | | | | | stdenv: implement most of #33599
| | | * | | stdenv: steal `checkInputs` from buildPythonPackageJan Malakhovski2018-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that a bunch of non-python packages use this attribute already. Some of those are clearly unaware of the fact that this attribute does not exists in stdenv because they define it but don't to add it to their `bulidInputs` :) Also note that I use `buildInputs` here and only handle regular builds because python and haskell builders do it this way and I'm not sure how to properly handle the cross-compilation case.
| | | * | | stdenv: cleanup things a little bitJan Malakhovski2018-04-26
| | | | | |
| | | * | | stdenv: introduce and use `config.doCheckByDefault` optionJan Malakhovski2018-04-26
| | | | | |
| | | * | | stdenv: implement `checkTarget` and `installCheckTarget` autodetectionJan Malakhovski2018-04-25
| | | | | |
| | | * | | stdenv: generic/setup.sh: cleanup installPhaseJan Malakhovski2018-04-25
| | | | | |
| | | * | | stdenv: generic/setup.sh: simplify buildPhase Makefile checkJan Malakhovski2018-04-25
| | | | | |
| | * | | | Merge pull request #39457 from oxij/stdenv/texinfo-bashMichael Raskin2018-04-27
| | |\ \ \ \ | | | | | | | | | | | | | | stdenv: change texinfo bootstrap handling; texinfo, bash: simplify expressions
| | | * | | | stdenv: linux: stop recompiling `texinfo`Jan Malakhovski2018-04-25
| | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | This makes stdenv bootstraping a bit more efficient. We don't recompile most of other stuff used in bootstrapping stdenv too.
| | * / / / linux bootstrap: remove assertion failure from dev, fixes 'nix eval'Will Dietz2018-04-26
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As in: $ nix eval -f . bash Also remove the glibc propagation inherit that made these necessary, stages handle propagating libc themselves (apparently) and AFAICT no hashes are changed as a result of this.
| | * | | Merge remote-tracking branch 'upstream/master' into HEADTuomas Tynkkynen2018-04-22
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/development/tools/misc/binutils/default.nix
| | * | | | Revert "Revert "Merge pull request #28029 from cstrahan/hardening-fix""John Ericson2018-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6c064e6b1f34a8416f990db0cc617a7195f71588, reapplying PR #28029 which was supposed to have gone to staging all along.
| * | | | | check-meta.nix: specify meta.timeoutMichael Raskin2018-04-27
| | | | | |
| * | | | | treewide: isArm -> isAarch32John Ericson2018-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following legacy packing conventions, `isArm` was defined just for 32-bit ARM instruction set. This is confusing to non packagers though, because Aarch64 is an ARM instruction set. The official ARM overview for ARMv8[1] is surprisingly not confusing, given the overall state of affairs for ARM naming conventions, and offers us a solution. It divides the nomenclature into three levels: ``` ISA: ARMv8 {-A, -R, -M} / \ Mode: Aarch32 Aarch64 | / \ Encoding: A64 A32 T32 ``` At the top is the overall v8 instruction set archicture. Second are the two modes, defined by bitwidth but differing in other semantics too, and buttom are the encodings, (hopefully?) isomorphic if they encode the same mode. The 32 bit encodings are mostly backwards compatible with previous non-Thumb and Thumb encodings, and if so we can pun the mode names to instead mean "sets of compatable or isomorphic encodings", and then voilà we have nice names for 32-bit and 64-bit arm instruction sets which do not use the word ARM so as to not confused either laymen or experienced ARM packages. [1]: https://developer.arm.com/products/architecture/a-profile
| * | | | | musl-stdenv: don't add special allowance for libiconvWill Dietz2018-04-25
| | | | | |
| * | | | | musl bootstrap: remove libiconvWill Dietz2018-04-24
| | |/ / / | |/| | |
| * | | | Merge pull request #39172 from obsidiansystems/ios-crossJohn Ericson2018-04-19
| |\ \ \ \ | | | | | | | | | | | | ios-sdk-pkgs: Init from iOS SDK from XCode
| | * | | | ios-sdk-pkgs: Init from iOS SDK from XCodeKen Micklas2018-04-19
| | | | | |
| * | | | | Merge pull request #38485 from obsidiansystems/nixos-nixpkgs-optionsJohn Ericson2018-04-19
| |\ \ \ \ \ | | |/ / / / | |/| | | | nixpkgs module: Clean up platform options
| | * | | | nixpkgs module: Clean up platform optionsJohn Ericson2018-04-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - `localSystem` is added, it strictly supercedes system - `crossSystem`'s description mentions `localSystem` (and vice versa). - No more weird special casing I don't even understand TEMP
| * | | | | Merge pull request #38932 from svanderburg/cygwin-fixesJohn Ericson2018-04-18
| |\ \ \ \ \ | | | | | | | | | | | | | | Fix stdenv-native and fix rebasing on cygwin
| | * | | | | Fix invalid Baseaddress must be > 0x200000000 on cygwinSander van der Burg2018-04-14
| | | | | | |
| | * | | | | Fix stdenv-native by creating a bintools wrapper with similar settingsSander van der Burg2018-04-14
| | | |/ / / | | |/| | |
| * | | | | Merge pull request #38639 from shlevy/platforms-not-brokenJohn Ericson2018-04-17
| |\ \ \ \ \ | | |/ / / / | |/| | | | meta: Don't bypass unsupported platforms with allowBroken.
| | * | | | meta: Add `NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM` for consistencyJohn Ericson2018-04-17
| | | | | |
| | * | | | meta: Don't bypass unsupported platforms with allowBroken.Shea Levy2018-04-17
| | |/ / / | | | | | | | | | | | | | | | Our platforms are open-world oriented these days, and anyway there's allowUnsupportedSystem.
| * / / / binutils: No more darwin conditionalsJohn Ericson2018-04-03
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since at least d7bddc27b23da8ce7bc19cfeeeb0cbebdb5a4410, we've had a situation where one should depend on: - `stdenv.cc.bintools`: for executables at build time - `libbfd` or `libiberty`: for those libraries - `targetPackages.cc.bintools`: for exectuables at *run* time - `binutils`: only for specifically GNU Binutils's executables, regardless of the host platform, at run time. and that commit cleaned up this usage to reflect that. This PR flips the switch so that: - `binutils` is indeed unconditionally GNU Binutils - `binutils-raw`, which previously served that role, is gone. so that the correct usage will be enforced going forward and everything is simple. N.B. In a few cases `binutils-unwrapped` (which before and now was unconditionally actual GNU binutils), rather than `binutils` was used to replace old `binutils-raw` as it is friendly towards some cross compilation usage by avoiding a reference to the next bootstrapping change.
| * | | meta: Simplify platform check logicJohn Ericson2018-03-27
| | | | | | | | | | | | | | | | Code golf or readability, you decide
| * | | meta: Add badPlatforms attribute for platform blacklisting.Shea Levy2018-03-27
| | | |
| * | | cross stdenv: Make depsBuildBuild overrideable by config too.John Ericson2018-03-20
| | | |
| * | | Merge pull request #37395 from obsidiansystems/lib-meta-platformJohn Ericson2018-03-19
| |\ \ \ | | | | | | | | | | lib: Factor in tiny bit of `meta.platform` checking