summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
* make-derivation: Don't add host-suffix to fixed-output derivations namesWill Dietz2018-07-09
| | | | | | | | Not only does the suffix unnecessarily reduce sharing, but it also breaks unpacker setup hooks (e.g. that of `unzip`) which identify interesting tarballs using the file extension. This also means we can get rid of the splicing hacks for fetchers.
* make-bootstrap-tools-cross: remove broken i686-musl variantWill Dietz2018-06-25
| | | | | Not terribly difficult to get this working, but until it does remove it so the cross jobset doesn't have the failures this introduces.
* Merge staging into masterFrederik Rietdijk2018-06-23
|\
| * Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-06-18
| |\
| * | llvm 5: split out compiler-rt and remove libcxxabi depJohn Ericson2018-06-14
| | | | | | | | | | | | | | | | | | | | | | | | We already did them on non-mass-rebuild llvm 6. Also, this allows simplifying the stdenv booting. We were missing the libcxxabi dep in compile-rt in llvm 6, so fixed that too.
* | | android: add ndkVer to resolve ndk ambiguityMatthew Bauer2018-06-22
| | | | | | | | | | | | | | | | | | | | | | | | It wasn’t exactly clear which NDK you were using previously. This adds an attribute to system that handles what version of the NDK we should use when building things. /cc @Ericson2314
* | | android: Use NDK 17 for aarch32Matthew Bauer2018-06-22
| |/ |/|
* | darwin stdenv: Put back "man" attribute on clang and llvmJohn Ericson2018-06-18
|/ | | | | We take care to make it use the final stdenv to avoid mass rebuilds and bootstrap python.
* darwin bootstrapping: Avoid overriding aliases for LLVMJohn Ericson2018-06-14
| | | | Respect the fix points and aliases by overriding originals.
* darwin stdenv: fix llvmPackage overridesJohn Ericson2018-06-13
| | | | | | | It may seem nice and abstract to just override the default version, but that breaks the alias relationship where the original llvmPackages_* is no longer in sync. Put another away, modifying the referee rather instead of breaking the reference "copy-on-write" is impossible.
* 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