Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-23 | Embed the sandbox shell into the statically linked 'nix' binary | Eelco Dolstra | |
With this, Nix will write a copy of the sandbox shell to /bin/sh in the sandbox rather than bind-mounting it from the host filesystem. This makes /bin/sh work out of the box with nix-static, i.e. you no longer get /nix/store/qa36xhc5gpf42l3z1a8m1lysi40l9p7s-bootstrap-stage4-stdenv-linux/setup: ./configure: /bin/sh: bad interpreter: No such file or directory | |||
2022-05-25 | Merge branch 'master' into lto | pennae | |
2022-05-24 | configure.ac: don't run sandbox-shell test when cross compiling | Yorick van Pelt | |
2022-05-24 | configure.ac: check for sandbox-shell's FEATURE_SH_STANDALONE | Yorick van Pelt | |
See also: https://bugs.archlinux.org/task/73998. Busybox's FEATURE_SH_STANDALONE feature causes other busybox applets to leak into the sandbox, where system() calls will start preferring them over tools in $PATH. On arch, this even includes `ar`. Let's check for this evil feature and disallow using this as a sandbox shell. | |||
2022-03-03 | enable LTO in optimized builds | pennae | |
gives 2-5% performance improvement across a board of tests. LTO is broken when using clang; some libs link fine while others crash the linker with a segfault in the llvm linker plugin. 🙁 | |||
2022-02-01 | Require lowdown 0.9.0 | Eelco Dolstra | |
Fixes #6021. | |||
2022-01-26 | Stop vendoring nlohmann_json | Eelco Dolstra | |
2021-11-29 | Merge pull request #5678 from t184256/document-libsodium | Eelco Dolstra | |
Document libsodium, which is now mandatory, as a dependency. | |||
2021-11-28 | Make libcpuid dependency optional with --disable-cpuid | Alexander Sosedkin | |
2021-11-27 | Document libsodium, which is now mandatory, as a dependency | Alexander Sosedkin | |
2021-09-14 | configure: explicit dependency on lowdown library | Federico Pellegrin | |
This dependency is used from quite a long time (now in libcmd) but was not explicitly stated in the configure phase, possibly leading to quite late build failures if that was not met (ie. building it outside the .nix files provided). This MR adds it in the configure phase so the failure is early and error is much more explicit. | |||
2021-08-13 | configure.ac: remove another uname check | Alyssa Ross | |
uname checks are not cross-safe. The normalization for Cygwin doesn't need any equivalent for host_os because nothing actually checked whether sys_name was cygwin any more. | |||
2021-08-10 | Fix host OS detection for darwin-specific linker flag | Ryan Burns | |
2021-06-25 | Merge remote-tracking branch 'origin/master' into cross-jobs | Matthew Bauer | |
2021-06-04 | configure.ac: fix use of unread LIBS variable | Puck Meerburg | |
This fixes both the SunOS/Solaris check, and the libatomic check, which reference $LIBS, which has not been used since automake was stripped out of the code. | |||
2021-06-01 | Run autoupdate | Eelco Dolstra | |
2021-04-23 | unified macro style for ENABLE_S3 | p01arst0rm | |
2021-04-15 | Drop unused tar dependency | Eelco Dolstra | |
2021-04-15 | Drop libbz2 / zlib / lzma dependency + style fixes | Eelco Dolstra | |
2021-03-09 | Merge branch 'master' into cross-jobs | Matthew Bauer | |
2021-02-22 | Add x86_64 compute levels as additional system types | Daniël de Kok | |
When performing distributed builds of machine learning packages, it would be nice if builders without the required SIMD instructions can be excluded as build nodes. Since x86_64 has accumulated a large number of different instruction set extensions, listing all possible extensions would be unwieldy. AMD, Intel, Red Hat, and SUSE have recently defined four different microarchitecture levels that are now part of the x86-64 psABI supplement and will be used in glibc 2.33: https://gitlab.com/x86-psABIs/x86-64-ABI https://lwn.net/Articles/844831/ This change uses libcpuid to detect CPU features and then uses them to add the supported x86_64 levels to the additional system types. For example on a Ryzen 3700X: $ ~/aps/bin/nix -vv --version | grep "Additional system" Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux | |||
2021-02-05 | Re-enable armv6l support | Matthew Bauer | |
This fixes the libatomic detection. | |||
2021-01-06 | Make sodium a required dependency | Eelco Dolstra | |
2020-12-25 | Update URL where bzip2 can be obtained | Sevan Janiyan | |
2020-12-04 | Fix compatibility with newer AWS SDKs | Stéphan Kochen | |
Tested against AWS SDK 1.8.99. Fixes #3201. | |||
2020-10-15 | Make a better -lz hack | John Ericson | |
Per the comments, the underlying issue is https://github.com/libarchive/libarchive/issues/1446, knowing this allows the hack to be much more targetted. | |||
2020-07-23 | Use mdbook | Eelco Dolstra | |
2020-05-28 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-05-08 | configure: Look for gtest | Eelco Dolstra | |
2019-12-20 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-19 | Merge branch 'libarchive' of https://github.com/yorickvP/nix | Eelco Dolstra | |
2019-12-16 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-13 | Initial gzip support | Tom Bereknyei | |
Closes #3256 | |||
2019-12-09 | downgrade required libarchive version (ubuntu 16.04) | Yorick van Pelt | |
2019-12-07 | libarchive proof of concept | Yorick van Pelt | |
2019-12-04 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-02 | Merge branch 'pkg-config-static' of https://github.com/matthewbauer/nix | Eelco Dolstra | |
2019-11-26 | Clean up the configure script | Eelco Dolstra | |
2019-11-07 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-11-07 | Revert "autoconf: Allow overriding CFLAGS/CXXFLAGS from outside." | Eelco Dolstra | |
This reverts commit 717e821b99797845e1bef47d862f8cb0fb69cfc9. It's much more convenient to do 'make OPTIMIZE=0'. | |||
2019-11-07 | Precompile headers | Eelco Dolstra | |
This cuts 'make install -j6' on my laptop from 170s to 134s. | |||
2019-11-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-11-06 | Make --enable-gc the default | Eelco Dolstra | |
2019-11-01 | Pass --static flag to pkg-config when necessary | Matthew Bauer | |
2019-10-21 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-10-01 | Use more robust test for libatomics | Matthew Bauer | |
Taken from Mesa configure script: https://github.com/mesa3d/mesa/blob/17.2/configure.ac#L405-L427 | |||
2019-10-01 | Add libatomic for 32-bit ARM | Matthew Bauer | |
Fixes #3113 | |||
2019-07-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-07-05 | Revert 82b7f0e840983879a510245903ff7c917276f65d, ↵ | Eelco Dolstra | |
cd8bc06e8786018ddb16cea4cb10971b63d0efd2, c3db9e6f8fd06d691be04cdd95a6bb21a400481d This breaks the tarball job: https://hydra.nixos.org/build/95714570 | |||
2019-07-03 | autoconf: Implement release tarball detection. Fixes #257. | Niklas Hambüchen | |
This should finally allow us to address all cases of build errors due to differences between release tarballs and building from git. See also https://github.com/NixOS/nix/issues/506#issuecomment-507312587 |