- 19 Feb, 2018 11 commits
-
-
Tuomas Tynkkynen authored
Avoids ~180,000 string temporaries created when evaluating a headless NixOS system.
-
-
Eelco Dolstra authored
This is already handled by the installer.
-
Eelco Dolstra authored
Also add some examples to nix --help.
-
Will Dietz authored
Happily the failing tests should prevent anyone from using such a Nix in situations where they expect sandboxing to be on, which would otherwise be a risk.
-
Eelco Dolstra authored
Don't silently succeed seccomp setup when !HAVE_SECCOMP.
-
git://github.com/dezgeg/nixShea Levy authored
-
Shea Levy authored
Running Nix with build users without seccomp on Linux is dangerous, and administrators should very explicitly opt-in to it.
-
Eelco Dolstra authored
-
-
Eelco Dolstra authored
configure.ac: check if lzma has MT support, fix deb build/etc.
-
- 18 Feb, 2018 1 commit
-
-
Shea Levy authored
This is needed for new arches where libseccomp support doesn't exist yet. Fixes #1878.
-
- 17 Feb, 2018 5 commits
-
-
Tuomas Tynkkynen authored
-
Tuomas Tynkkynen authored
drvName is already assigned to the same value right at the start of the function.
-
Tuomas Tynkkynen authored
-
Tuomas Tynkkynen authored
Boehm guarantees that memory returned by GC_malloc() is zeroed, so take advantage of that.
-
Tuomas Tynkkynen authored
Instead of having lexicographicOrder() create a temporary sorted array of Attr*:s and copying attr names from that, copy the attr names first and then sort that.
-
- 15 Feb, 2018 4 commits
-
-
Tuomas Tynkkynen authored
Avoids some malloc() traffic.
-
Eelco Dolstra authored
Set MANPATH in case man path isn’t set correctly.
-
Matthew Bauer authored
Previously, this would fail at startup for non-NixOS installs: nix-env --help The fix for this is to just use "nixManDir" as the value for MANPATH when spawning "man". To test this, I’m using the following: $ nix-build release.nix -A build $ MANPATH= ./result/bin/nix-env --help Fixes #1627
-
Eelco Dolstra authored
monitor-fds: Fix on macOS.
-
- 14 Feb, 2018 3 commits
-
-
Shea Levy authored
Fixes #1871.
-
Eelco Dolstra authored
Add splitVersion primop.
-
Shea Levy authored
Fixes #1868.
-
- 13 Feb, 2018 10 commits
-
-
Shea Levy authored
-
Shea Levy authored
-
Eelco Dolstra authored
Allow includes from nix.conf
-
Eelco Dolstra authored
Enable specifying directories in plugin-files.
-
Shea Levy authored
-
Shea Levy authored
-
Eelco Dolstra authored
installer: create 'enough' build users
-
-
-
Eelco Dolstra authored
Nix stats: flatten statistics
-
- 12 Feb, 2018 3 commits
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This was caused by derivations with 'allowSubstitutes = false'. Such derivations will be built locally. However, if there is another SubstitionGoal that has the output of the first derivation in its closure, then the path will be simultaneously built and substituted. There was a check to catch this situation (via pathIsLockedByMe()), but it no longer worked reliably because substitutions are now done in another thread. (Thus the comment 'It can't happen between here and the lockPaths() call below because we're not allowing multi-threading' was no longer valid.) The fix is to handle the path already being locked in both SubstitutionGoal and DerivationGoal.
-
Eelco Dolstra authored
-
- 11 Feb, 2018 3 commits
-
-
Will Dietz authored
-
Will Dietz authored
-
Frederik Rietdijk authored
Flattens the list of statistics as suggested in https://github.com/NixOS/ofborg/issues/67. This makes it easier to work with.
-