| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
At least for now. Such changes are risky (we have very many packages),
and apparently it needs more testing/review without blocking other
changes.
This reverts the whole range 4d0e3984918^..8752c327377,
except for one commit that got reverted in 6f239d73096 already.
(that MR didn't even get its merge commit)
|
|\ |
|
| | |
|
|/
|
|
| |
This is needed after glibc bump from PR #111616.
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
... for x86_64-darwin (into staging-next)
It wouldn't bootstrap otherwise.
Unfortunately we still haven't managed to get the tarballs
on the proper URLs, but GitHub should be reliable enough
and surely almost noone will bootstrap themselves anyway.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Updated python3 will block bootstrapping otherwise.
Verification instructions:
$ xdg-open https://hydra.nixos.org/build/144118577#tabs-details
$ nix build /nix/store/sh9cd0rarr8a2db1zdr4fzl4qsmvz5jp-stdenv-bootstrap-tools
$ cat /nix/store/sh9cd0rarr8a2db1zdr4fzl4qsmvz5jp-stdenv-bootstrap-tools/nix-support/hydra-build-products
$ nix hash-path /nix/store/9h4d7s313wv3gkfwi493yr1wvdsz9lf2-stdenv-bootstrap-tools/on-server/{sh,bzip2,mkdir,cpio}
sha256-igMAVEfumFv/LUNTGfNi2nSehgTNIP4Sg+f3L7u6SMA=
sha256-K3rhkJZipudT1Jgh+l41Y/fNsMkrPtiAsNRDha/lpZI=
sha256-VddFELwLDJGNADKB1fWwWPBtIAlEUgJv2hXRmC4NEeM=
sha256-SWkwvLaFyV44kLKL2nx720SvcL4ej/p2V/bX3uqAGO0=
$ nix hash-file /nix/store/9h4d7s313wv3gkfwi493yr1wvdsz9lf2-stdenv-bootstrap-tools/on-server/bootstrap-tools.cpio.bz2
sha256-b65dXbIm6o6s6U8tAiGpR6SMfvfn/VFcZgTHBetJZis=
|
|/
|
|
|
|
|
|
| |
array"
This reverts commit bf99a819a16089a8df03cc06262f06b31dfb683c.
It caused regressions in some packages; see:
https://github.com/NixOS/nixpkgs/commit/bf99a819a160
|
|\ |
|
| |
| |
| |
| | |
With this we shouldn't need other workarounds for the LTO problems.
|
| |
| |
| | |
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
|
| |
| |
| | |
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
|
| |
| |
| | |
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
|
| |
| |
| | |
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
|
| | |
|
| |
| |
| | |
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
used "recommended" arithmetic conditional style
|
| |
| |
| |
| | |
define hook arrays before assigning to them
|
| |
| |
| |
| | |
remove implicit array comparison in case
|
| |
| |
| |
| | |
https://github.com/koalaman/shellcheck/wiki/SC1091
|
| |
| |
| |
| | |
https://github.com/koalaman/shellcheck/wiki/SC2034
|
| | |
|
| | |
|
| |
| |
| |
| | |
dereference variables passed to mapOffset
|
| |
| |
| |
| | |
https://github.com/koalaman/shellcheck/wiki/SC2123
|
| |
| |
| |
| | |
https://github.com/koalaman/shellcheck/wiki/SC1090
|
| |
| |
| |
| | |
https://github.com/koalaman/shellcheck/wiki/SC2148
|
| |
| |
| |
| | |
https://github.com/koalaman/shellcheck/wiki/SC2154
|
| |
| |
| |
| |
| | |
type -p will exit 1 on failure.
Test makes the intent clearer here.
|
| |
| |
| |
| |
| |
| | |
this one is a little more controversial
see https://github.com/oilshell/oil/issues/864
for more information
|
| |
| |
| |
| |
| |
| |
| | |
https://github.com/koalaman/shellcheck/wiki/SC2206
https://github.com/koalaman/shellcheck/wiki/SC2207
admittedly this one is a lot less pretty
|
| |
| |
| |
| | |
https://github.com/koalaman/shellcheck/wiki/SC2086
|
| |
| |
| |
| |
| |
| |
| | |
This is not the "correct" way to check if a variable is non null in
bash. There is already an instance of the "right" way to do it in
setup.sh. Bash is "generous" enough to accept the original input though.
I couldn't find the relevant shellcheck.
|
| |
| |
| |
| | |
https://github.com/koalaman/shellcheck/wiki/SC2129
|
| |
| |
| |
| | |
https://github.com/koalaman/shellcheck/wiki/SC2086
|
|\ \
| |/
|/| |
manual: hardening: Fix disabled flags prose being in previous section
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This confused the hell out of me, as I didn't spot the
> The following flags are disabled by default ...
when reading about `pie`, because that sentence was hidden in the
previous hardening flag's section.
Also explain that `pie` hardening is on by default on musl.
|
|\ \
| |/
|/| |
stdenv/setup.sh: Add version check to setup script
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Only bash 4+ works in setup.sh. To make sure this is obvious, we can
check BASH_VERSINFO to get the major version number of Bash.
While Bash 3 is pretty rare, it still comes stock in macOS.
We *could* provide a warning here for non-Bash shells, but it’s not
always clear whether they will work or not. Zsh should have no trouble
while busybox sh, fish, or any others. There’s no great way to detect
what feature set the shell supports.
Fixes #71625
|
|\ \
| | |
| | |
| | | |
Regenerated pkgs/servers/x11/xorg/default.nix to resolve the conflict.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This enables the bootstrap stdenv test to specify the actual llvm
of the newly generated build instread of assuming it's the same version
as the current stdenv.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With removeUnknownConfigureFlags, it's impossible to express a package
that needs --enable-static, but will not accept --disable-shared,
without overriding the result of removeUnknownConfigureFlags _again_
in pkgs/top-level/static.nix.
It would be much better (and more in line with the rest of Nixpkgs) if
we encoded changes needed for static builds in package definitions
themselves, rather than in an ever-expanding list in static.nix. This
is especially true when doing it in static.nix is going to require
multiple overrides to express what could be expressed with stdenv
options.
So as a step in that direction, and to fix the problem described
above, here I replace removeUnknownConfigureFlags with a new stdenv
option, dontAddStaticConfigureFlags. With this mechanism, a package
that needs one but not both of the flags just needs to set
dontAddStaticConfigureFlags and then set up configureFlags manually
based on stdenv.hostPlatform.isStatic.
|
|\ \
| | |
| | | |
darwin bootstrap-tools bump LLVM to 11
|
| | |
| | |
| | |
| | |
| | |
| | | |
Changes to llvmPackages have caused the `libclang-cpp*.dylib` files to
be included in the `clang-unwrapped.lib` output. So we no longer need to
copy them from libclang.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`TargetConditionals.h` was missing several definitions, like
`TARGET_OS_TV` that are part of SDK 10.12 at least. And one that doesn't
seem to occur in any SDK afaict, `TARGET_OS_EMBEDDED_OTHER`.
I added the definitions from SDK 10.12 verbatim and defined
`TARGET_OS_EMBEDDED_OTHER` to be equal to `0`.
This is a modified version of a patch to avoid a stdenv rebuild.
|
| | |
| | |
| | |
| | |
| | | |
We need to include the library with the version suffix because
`libclang-cpp.dylib` is just a symlink.
|
| | |
| | |
| | |
| | |
| | | |
Credits to @LnL7, this is based on commit
ae68f1c447d775e64d6e16a33f2affe591c419bf from PR #85151.
|
| | | |
|