summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
* 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
| * lib: Factor in tiny bit of `meta.platform` checkingJohn Ericson2018-03-19
| | | | | | | | I need it in stdenv and release-lib, so that seems motivation enough.
* | Merge pull request #34444 from obsidiansystems/meta-checkJohn Ericson2018-03-18
|\| | | | | lib: Fix #30902
| * lib, stdenv: Check `meta.platforms` against host platform and be open worldJohn Ericson2018-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, we need check against the host platform, not the build platform. That's simple enough. Second, we move away from exahustive finite case analysis (i.e. exhaustively listing all platforms the package builds on). That only work in a closed-world setting, where we know all platforms we might build one. But with cross compilation, we may be building for arbitrary platforms, So we need fancier filters. This is the closed world to open world change. The solution is instead of having a list of systems (strings in the form "foo-bar"), we have a list of of systems or "patterns", i.e. attributes that partially match the output of the parsers in `lib.systems.parse`. The "check meta" logic treats the systems strings as an exact whitelist just as before, but treats the patterns as a fuzzy whitelist, intersecting the actual `hostPlatform` with the pattern and then checking for equality. (This is done using `matchAttrs`). The default convenience lists for `meta.platforms` are now changed to be lists of patterns (usually a single pattern) in `lib/systems/for-meta.nix` for maximum flexibility under this new system. Fixes #30902
| * stdenv: Clean up check meta argsJohn Ericson2018-03-14
| |
* | Merge branch 'master' into stagingJan Malakhovski2018-03-10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved the following conflicts (by carefully applying patches from the both branches since the fork point): pkgs/development/libraries/epoxy/default.nix pkgs/development/libraries/gtk+/3.x.nix pkgs/development/python-modules/asgiref/default.nix pkgs/development/python-modules/daphne/default.nix pkgs/os-specific/linux/systemd/default.nix
| * | stdenv: check-meta: fix fallout from #36119Jan Malakhovski2018-03-06
| | |
| * | make-bootstrap-tools: preserve coreutils symlinksWill Dietz2018-03-06
| |/ | | | | | | | | | | We go out of our way (see top of file) to build a single binary with symlinks for all of the tools, but were losing them when preparing the bootstrap tools.
* | Merge pull request #36401 from obsidiansystems/no-stdenv-cross-adapterJohn Ericson2018-03-06
|\ \ | | | | | | stdenv cross adapter: Get rid if `selfNativeBuildInput`
| * | stdenv cross adapter: Get rid if `selfNativeBuildInput`John Ericson2018-03-06
| | | | | | | | | | | | | | | | | | It is finally no longer used anywhere Fixes #30587
* | | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2018-02-28
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Conflicts: pkgs/applications/misc/pytrainer/default.nix pkgs/development/tools/pew/default.nix pkgs/tools/misc/you-get/default.nix
| * | prebuilt android tools: Init using SDKJohn Ericson2018-02-27
| | | | | | | | | | | | Expose as an option for the cross stdenv.
| * | Merge pull request #35247 from telent/mips32John Ericson2018-02-27
| |\ \ | | |/ | |/| lib, treewide: Add missing MIPS arches, and fix existing usage
| | * lib, treewide: Add missing MIPS arches, and fix existing usageDaniel Barlow2018-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | Existing "mips64el" should be "mipsel". This is just the barest minimum so that nixpkgs can recognize them as systems - although required for building individual derivations onto MIPS boards, it is not sufficient if you want to actually build nixos on those targets
* | | Merge pull request #35071 from oxij/stdenv/infopagesJohn Ericson2018-02-26
|\ \ \ | |/ / |/| | stdenv, bash: fixing info pages and stuff
| * | stdenv: darwin: give distinct names to all the stagesJan Malakhovski2018-02-26
| | |
| * | stdenv: linux: give distinct names to all the stagesJan Malakhovski2018-02-26
| | | | | | | | | | | | Mainly for debugging.
| * | stdenv: linux, darwin: don't build documentation for the the intermediate stagesJan Malakhovski2018-02-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | For the cc of the intermediate stages, to be precise. Doing the same for bintools requires lots of refactoring. This is mainly for the future extensibility as now you can change documentation generation with impunity without rebuilding the whole of stdenv.
* | | libgcrypt: Fix cross-compilationShea Levy2018-02-24
| | |
* | | Merge branch 'master' into stagingVladimír Čunát2018-02-20
|\ \ \ | | |/ | |/| | | | Larger rebuilds from master.
| * | Merge pull request #35111 from oxij/stdenv/available-evaluatesMichael Raskin2018-02-19
| |\ \ | | | | | | | | stdenv.mkDerivation: rename `meta.evaluates` -> `meta.available`
| | * | stdenv.mkDerivation: rename `meta.evaluates` -> `meta.available`Jan Malakhovski2018-02-18
| | | | | | | | | | | | | | | | A much better name.
| * | | Merge pull request #35110 from oxij/pkgs/pretty-fetchurlMichael Raskin2018-02-19
| |\ \ \ | | | | | | | | | | fetchurl: cleanup, better errors
| | * | | fetchurl: cleanup, better errorsJan Malakhovski2018-02-18
| | |/ / | | | | | | | | | | | | Also fix what seems like bugs in uncommon `stdenv`s.
* | | | Merge branch 'staging' into gcc-7Vladimír Čunát2018-02-19
|\ \ \ \ | | | | | | | | | | | | | | | I'm betting Hydra resources on gcc-7 getting to master before current staging.
| * | | | Merge remote-tracking branch 'origin/master' into stagingShea Levy2018-02-18
| |\| | | | | |_|/ | |/| |
| * | | Handle sourceRoots with leading dashesShea Levy2018-02-15
| | |/ | |/|
* | | Merge branch 'master' into gcc-7Shea Levy2018-02-18
|\ \ \ | | |/ | |/|
| * | Enable building riscv64 cross bootstrap toolsShea Levy2018-02-18
| |/ | | | | | | Fixes #35089
* | Merge remote-tracking branch 'upstream/staging' into gcc-7Tuomas Tynkkynen2018-02-15
|\| | | | | | | | | | | Conflicts: pkgs/development/libraries/libidn/default.nix pkgs/top-level/all-packages.nix
| * x86_64-musl bootstrap: use separate 64bit busyboxWill Dietz2018-02-13
| | | | | | | | Avoid issues like #24954.
| * new musl bootstrap URL's, much smaller. rebuild all the things.Will Dietz2018-02-13
| |
| * make-bootstrap-tools: set XZ to maximum level, big winsWill Dietz2018-02-13
| | | | | | | | x86_64 bootstrap tarball goes from 37M -> 21M (!)
| * aarch64-musl, armv6l-musl: fetch from wdtz.org instead of storePathWill Dietz2018-02-13
| |
| * add musl bootstrap paths for aarch64, armv6lWill Dietz2018-02-13
| | | | | | | | | | | | | | | | Aarch64 tools tested briefly with qemu-aarch64, but neither have been actually used yet :). For now only "host" indirectly via binary cache at cache.allvm.org.
| * bootstrap-files: nicer namingWill Dietz2018-02-13
| |
| * restore stdenv.glibc, will remove separately.Will Dietz2018-02-13
| |
| * make-bootstrap-tools: grab libc from stdenv.cc.libcWill Dietz2018-02-13
| | | | | | | | | | This is the same in current cases AFAICT, other than uses musl instead of glibc when musl-native.
| * bootstrap-tools-cross, release-cross: add various musl entriesWill Dietz2018-02-13
| |
| * linux stdenv: find bootstrap files by libc, then archWill Dietz2018-02-13
| |
| * fixup linux stdenv bootstrapWill Dietz2018-02-13
| |
| * musl bootstrap: allow libiconvWill Dietz2018-02-13
| |
| * musl64 bootstrap: grab from gravity, requires netrc magicWill Dietz2018-02-13
| |
| * linux bootstrap for musl: kludgeryWill Dietz2018-02-13
| |
| * bootstrap-tools-musl: WIPWill Dietz2018-02-13
| |
| * for now, copy bootstrap-tools instead of modify in-placeWill Dietz2018-02-13
| |
| * make-bootstrap-tools: initial musl support, less glibc-specificWill Dietz2018-02-13
| |
| * make-bootstrap-tools: glibc -> libcCrossWill Dietz2018-02-13
| |
| * stdenv: automatically update config.sub for muslWill Dietz2018-02-13
| |