summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
...
| * | | darwin: move deployment target and sdk version to platform configAndrew Childs2021-03-26
| | | |
* | | | stdenv/make-derivation: add -static to name if building staticallysternenseemann2021-04-13
| | | |
* | | | stdenv/make-derivation: unify logic for name modificationssternenseemann2021-04-13
| |/ / |/| | | | | | | | | | | | | | | | | Unify the logic for constructing the name from pname and version and modifying the name in case a host suffix needs to appended. This allows us to modify the construction of name from pname and version without having to duplicate it in two places.
* | | Merge pull request #116495 from r-burns/ppc64Sandro2021-04-12
|\ \ \ | |/ / |/| | lib/systems: remove powerpc64 elfv1 support
| * | stdenv/bootstrap-tools: remove powerpc64 special caseRyan Burns2021-03-15
| |/ | | | | | | | | Now that powerpc64 is always ELFv2, we can unconditionally use musl tools here.
* | Merge master into staging-nextgithub-actions[bot]2021-03-24
|\ \
| * | stdenv: Fix regression on ARM+static when enabling hardening (#115363)Samuel Dionne-Riel2021-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4e9dc46dea0ef8cf15c567fa863796bb23099d0b re-enabled hardening for Musl, which is good. Though static builds for ARM fail in various ways - cross armv7l static does not build - cross aarch64 static produces segfaulting dynamically linked binaries - native aarch64 static also produces segfaulting dynamically linked binaries It seems that for native x86_64-linux, static builds are fine though. This works around the issue by removing PIE from the hardening flags, keeping all other hardening flags. This is an improvement (I think) from before 4e9dc46d. Fixes #114953
* | | Merge staging-next into staginggithub-actions[bot]2021-03-19
|\| |
| * | darwin/make-bootstrap-tools: avoid brotli dependencyRyan Burns2021-03-18
| | | | | | | | | | | | Needed as of e3d19670a0f6b012aac5e05b50951d8a991ba143
* | | stdenv: ignore duplicates in addToSearchPath (#113800)Vincenzo Mantova2021-03-13
|/ /
* | stdenv/darwin: allow brotli reference from curlAndrew Childs2021-03-09
| | | | | | | | | | | | Brotli is recently a default dependency of curl in nixpkgs. See e3d19670a0f6b012aac5e05b50951d8a991ba143 in #112947
* | stdenv: set CMAKE_OSX_ARCHITECTURES appropriatelyAndrew Childs2021-03-02
|/
* stdenv/check-meta: change to allowlist and blocklist (#114127)WORLDofPEACE2021-02-23
| | | | | | | * stdenv/check-meta: change to allowlist and blocklist * Update pkgs/stdenv/generic/check-meta.nix Co-authored-by: Graham Christensen <graham@grahamc.com>
* Merge master into staging-nextgithub-actions[bot]2021-02-11
|\
| * stdenv/generic: recommend lib instead of pkgs.lib in place of stdenv.libBen Siraphob2021-02-11
| |
* | Merge master into staging-nextgithub-actions[bot]2021-02-09
|\|
| * stdenv: remove mention of flashplayer (in comments)Bernardo Meurer2021-02-08
| |
* | Merge master into staging-nextgithub-actions[bot]2021-02-07
|\|
| * stdenv: Improve/fix FreeBSD supportAshish SHUKLA2021-02-07
| | | | | | | | | | | | | | Able to bootstrap stdenv on FreeBSD by compiling various dependencies using built-in FreeBSD tools so mostly works now Closes: https://github.com/NixOS/nixpkgs/pull/81459
* | Merge master into staging-nextgithub-actions[bot]2021-02-07
|\|
| * stdenv/generic: allowAliases should default to true if unsetCole Helbling2021-02-06
| | | | | | | | | | | | | | Since the deprecation is fairly recent, we should warn by default. Also fix the wording of the comment: stdenv.lib will be removed for the 21.11 release, not just deprecated (as it already is deprecated).
| * stdenv/generic: allowAliases should default to false if unsetCole Helbling2021-02-06
| | | | | | | | Mostly because config.allowAliases doesn't exist unless it's set.
| * stdenv/generic: allowAlises -> allowAliasesEdmund Wu2021-02-06
| |
| * stdenv/generic: throw when using stdenv.lib and disallowing aliasesBen Siraphob2021-01-31
| |
* | Merge staging-next into staginggithub-actions[bot]2021-01-31
|\|
| * Merge pull request #111284 from siraben/remove-new-stdenv-libJohn Ericson2021-01-30
| |\ | | | | | | stdenv: warn about use of inherited lib
| | * Update pkgs/stdenv/generic/default.nixBen Siraphob2021-01-31
| | | | | | | | | Co-authored-by: John Ericson <git@JohnEricson.me>
| | * stdenv: warn about use of inherited libBen Siraphob2021-01-30
| | |
* | | Merge staging-next into staginggithub-actions[bot]2021-01-31
|\| |
| * | Merge pull request #111345 from r-burns/ppc64-big-endianJohn Ericson2021-01-30
| |\ \ | | | | | | | | Enable PPC64 (big-endian)
| | * | bootstrap-tools-cross: add powerpc64-linuxRyan Burns2021-01-30
| | | | | | | | | | | | | | | | Also check for powerpc64-linux-elfv1, which does not support musl.
| | * | stdenv: add powerpc64-linuxRyan Burns2021-01-30
| | | |
* | | | Merge pull request #108518 from 4z3/env-varsMatthew Bauer2021-01-30
|\ \ \ \ | |/ / / |/| | | stdenv: mute errors when failing to write env-vars
| * | | stdenv: mute errors when failing to write env-varstv2021-01-05
| | | |
* | | | Merge pull request #101606 from utsl42/masterGuillaume Girol2021-01-30
|\ \ \ \ | |_|_|/ |/| | | Fix hardening default for pkgsMusl to reenable -pie
| * | | stdenv: Fix hardening default for pkgsMusl to reenable -pieNathan Hawkins2020-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defaultHardeningFlags is set to enable pie for Musl, but is not actually used because the default is never put into NIX_HARDENING_ENABLE. That still works for cases other than Musl only because NIX_HARDENING_ENABLE is defaulted in the binutils and cc-wrapper setup-hook.sh scripts.
* | | | Merge pull request #110913 from siraben/other-stdenv-libSandro2021-01-27
|\ \ \ \
| * | | | treewide: stdenv.lib -> libBen Siraphob2021-01-27
| | |_|/ | |/| |
* | | | Merge #104742: linux bootstrap tools: fix tests on ppc64Vladimír Čunát2021-01-26
|\ \ \ \ | |/ / / |/| | |
| * | | linux bootstrap tools: fix tests on ppc64Ryan Burns2020-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dynamic loader on powerpc64 is called ld64.so.2 rather than ld-linux.so.*, and was not matched by the existing pattern. We reuse the dynamicLinker name from binutils to match a wider set of platforms and to avoid specifying this information in two places.
* | | | pkgs/build-support: stdenv.lib -> libBen Siraphob2021-01-24
| | | |
* | | | stdenv: Remove stdenv.platformJohn Ericson2021-01-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This was not working after #110544 as caught by @r-burns in https://github.com/NixOS/nixpkgs/pull/110544#issuecomment-766444647. Thankfully it isn't used anymore and I believe wasn't documented either. (I at least did not remember it existed.)
* | | | treewide: fix double quoted strings in meta.descriptionvolth2021-01-24
| | | | | | | | | | | | | | | | Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
* | | | lib: Clean up how linux and gcc config is specifiedJohn Ericson2021-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Second attempt of 8929989614589ee3acd070a6409b2b9700c92d65; see that commit for details. This reverts commit 0bc275e63423456d6deb650e146120c39c1e0723.
* | | | Revert "lib: Clean up how linux and gcc config is specified"Jonathan Ringer2021-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a stdenv-rebuild, and should not be merged into master This reverts commit 8929989614589ee3acd070a6409b2b9700c92d65.
* | | | lib: Clean up how linux and gcc config is specifiedJohn Ericson2021-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `platform` field is pointless nesting: it's just stuff that happens to be defined together, and that should be an implementation detail. This instead makes `linux-kernel` and `gcc` top level fields in platform configs. They join `rustc` there [all are optional], which was put there and not in `platform` in anticipation of a change like this. `linux-kernel.arch` in particular also becomes `linuxArch`, to match the other `*Arch`es. The next step after is this to combine the *specific* machines from `lib.systems.platforms` with `lib.systems.examples`, keeping just the "multiplatform" ones for defaulting.
* | | | darwin.apple-sdk: drop appleSdkVersionMonson Shao2021-01-21
| | | | | | | | | | | | | | | | In fact no one is using appleSdkVersion, and stdenv is decoupled with sdk.
* | | | make-bootstrap-tools: stdenv.lib -> libBen Siraphob2021-01-15
| | | |
* | | | llvmPackages: select version by targetPlatformEmery Hemingway2021-01-11
| |_|/ |/| |
* | | darwin/stdenv: tapi stub based bootstrapAndrew Childs2020-12-22
| | | | | | | | | | | | Fixes bootstrapping on macOS Big Sur.