summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
* 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
|
* make-bootstrap-tools-cross.nix: add musl -> musl64Will Dietz2018-02-13
|
* check-meta: Use concatStringsTuomas Tynkkynen2018-02-11
|
* darwin bootstrap tools: fix after #34339 (http2 in curl)Vladimír Čunát2018-02-10
|
* unpackPhase: Handle sources starting with a hyphenShea Levy2018-01-24
|
* Merge branch 'ericson2314-cross-master' into stagingJohn Ericson2018-01-16
|\
| * Merge #33057: stdenv meta checks: make them lazyVladimír Čunát2018-01-14
| |\ | | | | | | | | | | | | Closes #22277 - it's superseded; I have some WIP on evaluation performance, but best do that in a separate PR/thread.
| | * stdenv: provide `meta.name`Jan Malakhovski2018-01-14
| | |
| | * stdenv: hide `name` under `check-meta` assertJan Malakhovski2018-01-14
| | | | | | | | | | | | | | | | | | | | | | | | This is a temporary workaround to make `nix-env -qa` and `nix search` ignore broken packages as they they did before this patchset. This patch should be reverted after `nix` gets a proper fix for this. See NixOS/nix#1771.
| | * stdenv: implement `config.checkMetaRecursively`Jan Malakhovski2018-01-14
| | | | | | | | | | | | | | | | | | | | | This option makes `meta.evaluate` into a close approximation of the result of evaluating `.outPath` by checking all the dependencies recursively at a cost of 2x slowdown. Note that actually evaluating `.outPath` costs some 5x-7x more because `.outPath` also computes all the hashes.
| | * stdenv: provide `meta.evaluates`Jan Malakhovski2018-01-14
| | | | | | | | | | | | This gives a way to see the result of `check-meta` without triggering any assertions.
| | * stdenv: change some indentJan Malakhovski2018-01-14
| | |
| | * stdenv: perform checks only when evaluating .drv and .outJan Malakhovski2018-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pushes check-meta evaluation to derivation evaluation step, leaving all other attributes accessible. Before this commit: > $ HOME=/homeless-shelter NIX_PATH=nixpkgs=$(pwd) nix-instantiate --eval --strict ./default.nix -A xen --argstr system aarch64-linux > Package ‘xen-4.5.5’ in pkgs/applications/virtualization/xen/generic.nix:226 is not supported on ‘aarch64-linux’, refusing to evaluate. as expected > $ HOME=/homeless-shelter NIX_PATH=nixpkgs=$(pwd) nix-instantiate --eval --strict ./default.nix -A xen.name --argstr system aarch64-linux > Package ‘xen-4.5.5’ in pkgs/applications/virtualization/xen/generic.nix:226 is not supported on ‘aarch64-linux’, refusing to evaluate. > $ HOME=/homeless-shelter NIX_PATH=nixpkgs=$(pwd) nix-instantiate --eval --strict ./default.nix -A xen.meta.description --argstr system aarch64-linux > Package ‘xen-4.5.5’ in pkgs/applications/virtualization/xen/generic.nix:226 is not supported on ‘aarch64-linux’, refusing to evaluate. which is unfortunate since its impossible to use packages in autogenerated documentation on all platforms. After this commit: > $ HOME=/homeless-shelter NIX_PATH=nixpkgs=$(pwd) nix-instantiate --eval --strict ./default.nix -A xen --argstr system aarch64-linux still fails > $ HOME=/homeless-shelter NIX_PATH=nixpkgs=$(pwd) nix-instantiate --eval --strict ./default.nix -A xen.name --argstr system aarch64-linux > "xen-4.5.5" > $ HOME=/homeless-shelter NIX_PATH=nixpkgs=$(pwd) nix-instantiate --eval --strict ./default.nix -A xen.meta.description --argstr system aarch64-linux > "Xen hypervisor and related components (vanilla)"
* | | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2018-01-14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/build-support/fetchbower/default.nix pkgs/build-support/fetchdarcs/default.nix pkgs/build-support/fetchgx/default.nix pkgs/development/python-modules/botocore/default.nix pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix pkgs/tools/admin/awscli/default.nix
| * | Merge pull request #33681 from obsidiansystems/fixed-output-depsJohn Ericson2018-01-10
| |\ \ | | | | | | | | Fixed output deps
| | * | treewide: Fetchers should use `stdenvNoCC`.John Ericson2018-01-10
| | | |
| * | | Merge pull request #33670 from obsidiansystems/cross-checkJohn Ericson2018-01-09
| |\| | | | | | | | | | stdenv: Fix doCheck and doInstallCheck logic
| | * | stdenv: Fix doCheck and doInstallCheck logicJohn Ericson2018-01-09
| | | | | | | | | | | | | | | | It's host != build, not host != target
| * | | Merge pull request #33603 from obsidiansystems/cross-checkJohn Ericson2018-01-09
| |\| | | | | | | | | | stdenv: Force `doCheck` to be false when we are cross compiling
| | * | stdenv: Force `doCheck` and `doInstallCheck` to be false when we are cross ↵John Ericson2018-01-09
| | |/ | | | | | | | | | | | | | | | | | | | | | compiling I hope this will be a temporary measure. If there is consensus around issue #33599, then we can follow an explicit `dontCheck`, but default to not checking during cross builds when none is given.
| * / schedulingPriority should be an int, fix check-meta type and in-tree useWill Dietz2018-01-09
| |/
* | stdenv: Kill off ensureDiradisbladis2018-01-09
| |
* | Merge pull request #33342 from LnL7/clang-outputsDaiderd Jordan2018-01-07
|\ \ | |/ |/| clang: add lib output
| * stdenv: allow lib output of clang on darwinDaiderd Jordan2018-01-02
| |
* | linux bootstrap tools: Use same derivation whether cross compiling or notJohn Ericson2018-01-02
| |
* | Merge pull request #26805 from obsidiansystems/cross-elegantJohn Ericson2017-12-30
|\ \ | | | | | | Make cross compilation elegant
| * | stdenv-setup: Ease the transition with native buildsJohn Ericson2017-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - All deps go on the PATH - CC and Bintools wrappers with their host != depender's host still get their setup hooks run. - Environment hooks get applied to all packages This isn't so elegent, but eases the transition on a very significant PR.
| * | linux bootstrap tools cross: Nuke more refsJohn Ericson2017-12-30
| | | | | | | | | | | | libgcc.a and similar
| * | {bintools,cc}-wrapper: Fix setup hook to respect the role of the cc-compilerJohn Ericson2017-12-30
| | | | | | | | | | | | | | | | | | | | | We now have the information to properly determine the role the cc-wrapper dependency has, by taking advantage of `offset`. No longer use the soon-to-be-deprecated crossConfig environment variable, the temp hack used before this change.
| * | stdenv: Fix handling of dependencies and hooksJohn Ericson2017-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4 far-reaching changes: Smaller PATH, New vars, different propagation logic, and different hook logic Smaller PATH ------------ `buildInputs` no longer go on the PATH at build time, as they cannot be run when cross compiling and we don't want to special case. Simply make a `nativeBuildInput` too if one needs them on the PATH. Fixes #21191. Many new depedendency variables ------------------------------- See the stdenv chapter of the nixpkgs manual. I pulled out the existing documentation of dependency specification into a new section, and added language for these two (and their propagated equivalents) along side the others'. More complex propagation logic ------------------------------ Before a propagated*XXX*Input always acted as if it was specified directly as a *XXX*Input downstream. That's simple enough, but violates the intended roles of each sort of dep, which has functional and not just stylistic consequences. The new algorithm is detailed in the manual, and ensures everything ends up in the right place. I tried to give both an informal and formal description, but I suspect in practice it will not make much sense until one tries cross compiling, after which it will immediately make sense as the only sane option. Simplified hook logic --------------------- Rather than `envHook` and `crossEnvHook`, whose behavior differs depending on whether we are cross compiling or not, there is now one hook per sort (or rather non-propagated and propagated pair of sorts) of dependency. These new hooks have the same meaning regardless of cross compilation. See the setup hook section of stdenv chapter of the Nixpkgs manual for more details.
* | | Merge pull request #33186 from obsidiansystems/cross-binutilsJohn Ericson2017-12-29
|\| | | | | | | | binutils: Fix cross, again
| * | stdenv cross adapter: Get rid of extra propagatation of buildInputsJohn Ericson2017-12-29
| | | | | | | | | | | | Binutils is patched so we don't rely on `--rpath-link`.
* | | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2017-12-26
|\ \ \ | |/ / |/| / | |/
| * darwin stdenv boostrap tools: use curl without kerberosVladimír Čunát2017-12-24
| | | | | | | | /cc #29785. Otherwise we would have to put the lib in, etc.
* | darwin stdenv: Make stdenv.cc, not stdenv, bring in libcxxJohn Ericson2017-12-25
|/ | | | | | | | | | | stdenvNoCC should not inject any C++ standard library, just as it doesn't inject any C standard library. stdenv still does, but only indirectly through stdenv.cc. Wrapped clangs can be simplified now that they don't need to worry about clobbering CoreFoundation when replacing the C++ standard library implementation. This generally-good cleanup should assist with debugging some C++ failures in #26805.
* Merge branch 'master' into stagingVladimír Čunát2017-12-15
|\
| * stdenv: make knownVulnerabilities a known meta-typeGraham Christensen2017-12-14
| |