| Commit message (Collapse) | Author | Age |
... | |
| | | | |
|
| | | | |
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
|/| | |
lib/systems: remove powerpc64 elfv1 support
|
| |/
| |
| |
| |
| | |
Now that powerpc64 is always ELFv2, we can unconditionally use musl
tools here.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\| | |
|
| | |
| | |
| | |
| | | |
Needed as of e3d19670a0f6b012aac5e05b50951d8a991ba143
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
Brotli is recently a default dependency of curl in nixpkgs.
See e3d19670a0f6b012aac5e05b50951d8a991ba143 in #112947
|
|/ |
|
|
|
|
|
|
|
| |
* stdenv/check-meta: change to allowlist and blocklist
* Update pkgs/stdenv/generic/check-meta.nix
Co-authored-by: Graham Christensen <graham@grahamc.com>
|
|\ |
|
| | |
|
|\| |
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| |
| | |
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
|
|\| |
|
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| | |
Mostly because config.allowAliases doesn't exist unless it's set.
|
| | |
|
| | |
|
|\| |
|
| |\
| | |
| | | |
stdenv: warn about use of inherited lib
|
| | |
| | |
| | | |
Co-authored-by: John Ericson <git@JohnEricson.me>
|
| | | |
|
|\| | |
|
| |\ \
| | | |
| | | | |
Enable PPC64 (big-endian)
|
| | | |
| | | |
| | | |
| | | | |
Also check for powerpc64-linux-elfv1, which does not support musl.
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
stdenv: mute errors when failing to write env-vars
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Fix hardening default for pkgsMusl to reenable -pie
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \ |
|
| | |_|/
| |/| | |
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.)
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Second attempt of 8929989614589ee3acd070a6409b2b9700c92d65; see that
commit for details.
This reverts commit 0bc275e63423456d6deb650e146120c39c1e0723.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is a stdenv-rebuild, and should not be merged
into master
This reverts commit 8929989614589ee3acd070a6409b2b9700c92d65.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | | |
In fact no one is using appleSdkVersion, and stdenv is decoupled with sdk.
|
| | | | |
|
| |_|/
|/| | |
|
| | |
| | |
| | |
| | | |
Fixes bootstrapping on macOS Big Sur.
|