summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
...
| | | * | 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
| | |
| * | Merge remote-tracking branch 'upstream/staging' into binutils-wrapperJohn Ericson2017-12-13
| |\|
| | * stdenv: allow specifying a eval issuee handlerGraham Christensen2017-12-12
| | |
| | * stdenv checkMeta: throw -> traceVladimír Čunát2017-12-12
| | | | | | | | | | | | | | | | | | - tracing seems annoying enough - we get errors for all packages instead of aborting on the first one - easier to differentiate from unwanted packages (broken, unfree, etc.)
| | * stdenv: fix use of config-specified allowInsecurePredicateWill Dietz2017-12-09
| | | | | | | | | | | | for some reason we were checking allowUnfreePredicate instead
| | * tree-wide: fix either check-meta or meta attrs of all the packages I evaluateJan Malakhovski2017-12-05
| | |
| | * stdenv/generic/check-meta: fix error message evaluationJan Malakhovski2017-12-05
| | |
| * | bintools-wrapper: Import separately from cc-wrapperJohn Ericson2017-12-13
| |/
| * Merge pull request #31775 from obsidiansystems/stdenv-both-propagated-filesJohn Ericson2017-11-22
| |\ | | | | | | stdenv setup: Always use both propagated files
| | * stdenv setup: Always use both propagated filesJohn Ericson2017-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This continues #23374, which always kept around both attributes, by always including both propagated files: `propgated-native-build-inputs` and `propagated-build-inputs`. `nativePkgs` and `crossPkgs` are still defined as before, however, so this change should only barely observable. This is an incremental step to fully keeping the dependencies separate in all cases.
| * | Merge branch 'master' into stagingOrivej Desh2017-11-17
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (293 commits) go_1_9: skip flaky TestServerCancelsReadTimeoutWhenIdle qsyncthingtray: fix build qt56.qtwebengine: fix build stdman: d860212 -> 2017.04.02 jackett: use mono50 hg-git: disable with python3 hg-git: 0.8.5 -> 0.8.10 xfce4-settings: enable parallel building gcc-snapshot: mark as broken heaptrack: 2017-02-14 -> 2017-10-30 nixos-container: Modify existing test to cover show-ip command nixos-container: Make show-ip work together with ipv4 + netmask linux-copperhead: 4.13.12.a -> 4.13.13.a matterbridge: 1.1.0 -> 1.4.1 nixos/nghttpx: add module for the nghttpx proxy server (#31680) mattermost: 4.3.0 -> 4.4.0 breakpad: delete simp_le: 0.2.0 -> 0.6.1 certbot: 0.11.1 -> 0.19.0 afl: 2.51b -> 2.52b ...
| | * | darwin.make-bootstrap-tools: fix ICU reference to improve purityDan Peebles2017-11-13
| | | |
| | * | Revert switching hello to fetchipfs, re: #18296Michael Raskin2017-11-13
| | | |
| * | | Merge pull request #31723 from obsidiansystems/stdenv-accum-them-setupJohn Ericson2017-11-16
| |\ \ \ | | | |/ | | |/| stdenv setup: Run setup hooks and other processing after accumulating deps
| | * | stdenv setup: Run setup hooks and other processing after accumulating depsJohn Ericson2017-11-15
| | | | | | | | | | | | | | | | | | | | | | | | I find the separation of concerns, accumulating, then processing, easier to follow. Also, with my yet-to-be-merged cross work, the accumulation part will become more complex.
| * | | darwin.stdenv: fix a typo in comment ;-)Vladimír Čunát2017-11-14
| | | |
| * | | Merge pull request #30484 from obsidiansystems/libbfdJohn Ericson2017-11-14
| |\| | | | | | | | | | bfd, opcodes: Init separate derivations for binutils libraries
| | * | treewide: Remove references to removed binutils outputsJohn Ericson2017-11-13
| | |/
| * | darwin.stdenv: fix up to allow sandboxingDan Peebles2017-11-14
| | |
| * | darwin.stdenv: use new, purer, bootstrap toolsDan Peebles2017-11-13
| |/ | | | | | | This is the first step to getting a sandboxable nixpkgs
| * bootstrap tools test: fixup after d71833ee36Vladimír Čunát2017-11-11
| |
* | Merge branch 'staging' into gcc-7Vladimír Čunát2017-11-11
|\|
| * treewide: Depend on targetPackages.stdenv.cc.bintools instead of binutils ↵John Ericson2017-11-05
| | | | | | | | | | | | | | | | | | directly One should do this when needed executables at run time. It is more honest and cross-friendly than refering to binutils directly, if one neeeds the default binary tools for the target platform, rather than binutils in particular.
| * Rename `__targetPackages` to `targetPackages`John Ericson2017-11-05
| |
| * Get rid of most @rpath nonsense on DarwinDan Peebles2017-10-08
| | | | | | | | | | | | This requires some small changes in the stdenv, then working around the weird choice LLVM made to hardcode @rpath in its install name, and then lets us remove a ton of annoying workaround hacks in many of our Go packages. With any luck this will mean less hackery going forward.
| * Merge remote-tracking branch 'upstream/staging' into deps-reorgJohn Ericson2017-09-28
| |\
| | * cc-wrapper: Use stdenvNoCC to buildJohn Ericson2017-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc-wrapper may wrap a cc-compiler, but it doesn't need one to build itself. (c.f. expand-response-params is a separate derivation.) This helps avoid cycles on the cross stuff, in addition to removing a useless dependency edge. I could have been super careful with overrides in the stdenv to avoid the mass rebuild, but I don't think it's worth it.
| | * stdenv: Turn on `set -x` if NIX_DEBUG >= 6John Ericson2017-09-26
| | | | | | | | | | | | | | | | | | Why 6? It seems a decently high number, giving us room for more degrees of debugging before the `set -x` sledgehammer without incurring a mass-rebuild.
| | * treewide: Use `(( "${NIX_DEBUG:-0}" >= 1) ))` consistentlyJohn Ericson2017-09-26
| | |