Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-05-07 | Merge pull request #2792 from JohnAZoidberg/builtins-hash-file | Eelco Dolstra | 9 | -1/+39 | |
Add builtins.hashFile | |||||
2019-05-03 | Add builtins.hashFile | Daniel Schaefer | 9 | -1/+39 | |
For text files it is possible to do it like so: `builtins.hashString "sha256" (builtins.readFile /tmp/a)` but that doesn't work for binary files. With builtins.hashFile any kind of file can be conveniently hashed. | |||||
2019-05-03 | Fix "Bad system call" running i686-linux binaries on x86_64-linux | Eelco Dolstra | 3 | -4/+11 | |
To determine which seccomp filters to install, we were incorrectly using settings.thisSystem, which doesn't denote the actual system when --system is used. Fixes #2791. | |||||
2019-05-01 | Merge pull request #2679 from bjornfor/offline-install | Eelco Dolstra | 2 | -2/+13 | |
install script: don't abort when "nix-channel --update" fails | |||||
2019-04-29 | Merge pull request #2750 from nh2/max-jobs-0-docs | Domen Kožar | 2 | -2/+13 | |
docs: Mention `--max-jobs 0` to build remotely only | |||||
2019-04-24 | Merge pull request #2775 from LnL7/darwin-sandbox-hash-rewrite | Eelco Dolstra | 1 | -2/+18 | |
build: only skip hash rewriting for sandboxing on linux | |||||
2019-04-17 | build: only skip hash rewriting for sandboxing on linux | Daiderd Jordan | 1 | -2/+18 | |
The sandbox on darwin, and possibly other future platforms, doesn't have enough isolation to redirect outputs without hash rewriting. | |||||
2019-04-15 | Fix release script | Eelco Dolstra | 1 | -2/+2 | |
2019-04-11 | Add environment variable NIX_SHOW_SYMBOLS for dumping the symbol table | Eelco Dolstra | 2 | -0/+13 | |
2019-04-01 | primeCache(): Barf if builds are needed but not allowed | Eelco Dolstra | 1 | -0/+6 | |
Fixes #2753. | |||||
2019-04-01 | getMachines(): Cache result | Eelco Dolstra | 1 | -4/+5 | |
2019-04-01 | Use Nixpkgs 19.03 | Eelco Dolstra | 2 | -2/+2 | |
2019-03-31 | docs: Mention `--max-jobs 0` to build remotely only | Niklas Hambüchen | 2 | -2/+13 | |
2019-03-27 | Fix Bison 3.3 warning | Eelco Dolstra | 1 | -1/+1 | |
2019-03-27 | Update eval-okay-types.exp to match #1828 | Eelco Dolstra | 1 | -1/+1 | |
2019-03-25 | Merge pull request #2744 from veprbl/patch-8 | Graham Christensen | 1 | -2/+7 | |
manual: mention the "channel:" shorthand for NIX_PATH | |||||
2019-03-25 | manual: mention the "channel:" shorthand for NIX_PATH | Dmitry Kalinkin | 1 | -2/+7 | |
Bumped to 15.09 because older channels, when downloaded from nixos.org, require firefox to be accessed via `pkgs.firefox` | |||||
2019-03-25 | Merge pull request #1828 from zimbatm/isPath | Eelco Dolstra | 3 | -0/+17 | |
Add isPath primop | |||||
2019-03-25 | perl/configure.ac: fix for new version location too | Will Dietz | 1 | -1/+1 | |
2019-03-25 | configure.ac: update for new version file location | Will Dietz | 1 | -1/+1 | |
2019-03-25 | store-api.hh: add missing include for unordered_map | Will Dietz | 1 | -0/+1 | |
2019-03-25 | version -> .version, avoid conflict with C++20 <version> | Will Dietz | 2 | -1/+1 | |
2019-03-24 | Merge pull request #2693 from thoughtpolice/scripts/multi-user-sandbox | Domen Kožar | 1 | -1/+0 | |
scripts: remove default 'sandbox = false' from multi-user installer | |||||
2019-03-24 | Add isPath primop | zimbatm | 3 | -0/+17 | |
this is added for completeness' sake since all the other possible `builtins.typeOf` results have a corresponding `builtins.is<Type>` | |||||
2019-03-21 | Merge pull request #2741 from mayflower/primop-type-desc | Eelco Dolstra | 1 | -2/+14 | |
eval: improve type description for primops and applied primops | |||||
2019-03-21 | eval: improve type description for primops and applied primops | Linus Heckemann | 1 | -2/+14 | |
This can make type errors a little easier to understand. | |||||
2019-03-21 | Merge pull request #2739 from mayflower/builtins-doc-explicit | Eelco Dolstra | 1 | -0/+17 | |
manual: include builtins.* for globally available builtins | |||||
2019-03-21 | manual: include builtins.* for globally available builtins | Linus Heckemann | 1 | -0/+17 | |
This improves searchability. | |||||
2019-03-18 | Merge pull request #2731 from nomeata/link-to-conf-builders-use-substitutes | Eelco Dolstra | 1 | -0/+4 | |
Link to `builders-use-substitutes` in chapter on distributed builds | |||||
2019-03-16 | Link to `builders-use-substitutes` in chapter on distributed builds | Joachim Breitner | 1 | -0/+4 | |
fixes #2730. | |||||
2019-03-15 | Merge pull request #2727 from Chakerbh/master | Eelco Dolstra | 1 | -0/+1 | |
Add a 5 seconds of timeout to connecting to S3. | |||||
2019-03-15 | Add a 5 seconds of timeouts to connect to S3. | Chaker Benhamed | 1 | -0/+1 | |
The default is 1000ms, but we can hit it a lot of we don't have direct link to AWS (e.g. using VPN). | |||||
2019-03-14 | Merge pull request #2725 from andir/docs/s3-typo | Graham Christensen | 1 | -1/+1 | |
docs: fix typo in AllowDirectReads | |||||
2019-03-14 | docs: fix typo in AllowDirectReads | Andreas Rammhold | 1 | -1/+1 | |
It was just missing an `l` but should be fixed anyway. | |||||
2019-03-14 | pkg-config files: Use c++17 | Eelco Dolstra | 3 | -3/+3 | |
2019-03-14 | experimental/optional -> optional | Eelco Dolstra | 14 | -26/+26 | |
2019-03-14 | nix-store --gc --print-roots: Sort output | Eelco Dolstra | 1 | -1/+5 | |
2019-03-14 | findRoots(): Don't censor for trusted users | Eelco Dolstra | 1 | -1/+1 | |
They're pretty much root anyway. | |||||
2019-03-14 | findRoots(): Add 'censor' parameter | Eelco Dolstra | 7 | -53/+40 | |
This is less brittle than filtering paths after the fact in nix-daemon. | |||||
2019-03-14 | findRuntimeRoots: Simplify/fix handling of /proc files | Eelco Dolstra | 2 | -15/+14 | |
Scanning of /proc/<pid>/{exe,cwd} was broken because '{memory:' was prepended twice. Also, get rid of the whole '{memory:...}' thing because it's unnecessary, we can just list the file in /proc directly. | |||||
2019-03-10 | Update tests to the new --roots format | Guillaume Maudoux | 1 | -1/+1 | |
2019-03-10 | Fix warning about unused variable | Guillaume Maudoux | 1 | -2/+5 | |
2019-03-10 | Unify internal findRootsXxx() api | Guillaume Maudoux | 2 | -24/+15 | |
2019-03-10 | unify naming of roots as links & targets | Guillaume Maudoux | 1 | -6/+6 | |
2019-03-10 | require c++ 17 | Guillaume Maudoux | 1 | -1/+1 | |
This fixes warnings about "structured binding declaration" requiring "-std=c++1z". | |||||
2019-03-10 | Also obfuscate the number of memory roots | Guillaume Maudoux | 1 | -2/+16 | |
2019-03-10 | Also print rooted path in `nix-store -q --roots` | Guillaume Maudoux | 1 | -1/+1 | |
2019-03-10 | fixup! Make roots a map of store paths to pinning links | Guillaume Maudoux | 1 | -3/+3 | |
2019-03-10 | Make roots a map of store paths to pinning links | Guillaume Maudoux | 5 | -35/+39 | |
This new structure makes more sense as there may be many sources rooting the same store path. Many profiles can reference the same path but this is even more true with /proc/<pid>/maps where distinct pids can and often do map the same store path. This implementation is also more efficient as the `Roots` map contains only one entry per rooted store path. | |||||
2019-03-10 | Obfuscate memory roots for non-root users | Guillaume Maudoux | 2 | -9/+16 | |