about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2019-05-07 Merge pull request #2792 from JohnAZoidberg/builtins-hash-fileEelco Dolstra9-1/+39
Add builtins.hashFile
2019-05-03 Add builtins.hashFileDaniel Schaefer9-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-linuxEelco Dolstra3-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-installEelco Dolstra2-2/+13
install script: don't abort when "nix-channel --update" fails
2019-04-29 Merge pull request #2750 from nh2/max-jobs-0-docsDomen Kožar2-2/+13
docs: Mention `--max-jobs 0` to build remotely only
2019-04-24 Merge pull request #2775 from LnL7/darwin-sandbox-hash-rewriteEelco Dolstra1-2/+18
build: only skip hash rewriting for sandboxing on linux
2019-04-17 build: only skip hash rewriting for sandboxing on linuxDaiderd Jordan1-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 scriptEelco Dolstra1-2/+2
2019-04-11 Add environment variable NIX_SHOW_SYMBOLS for dumping the symbol tableEelco Dolstra2-0/+13
2019-04-01 primeCache(): Barf if builds are needed but not allowedEelco Dolstra1-0/+6
Fixes #2753.
2019-04-01 getMachines(): Cache resultEelco Dolstra1-4/+5
2019-04-01 Use Nixpkgs 19.03Eelco Dolstra2-2/+2
2019-03-31 docs: Mention `--max-jobs 0` to build remotely onlyNiklas Hambüchen2-2/+13
2019-03-27 Fix Bison 3.3 warningEelco Dolstra1-1/+1
2019-03-27 Update eval-okay-types.exp to match #1828Eelco Dolstra1-1/+1
2019-03-25 Merge pull request #2744 from veprbl/patch-8Graham Christensen1-2/+7
manual: mention the "channel:" shorthand for NIX_PATH
2019-03-25 manual: mention the "channel:" shorthand for NIX_PATHDmitry Kalinkin1-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/isPathEelco Dolstra3-0/+17
Add isPath primop
2019-03-25 perl/configure.ac: fix for new version location tooWill Dietz1-1/+1
2019-03-25 configure.ac: update for new version file locationWill Dietz1-1/+1
2019-03-25 store-api.hh: add missing include for unordered_mapWill Dietz1-0/+1
2019-03-25 version -> .version, avoid conflict with C++20 <version>Will Dietz2-1/+1
2019-03-24 Merge pull request #2693 from thoughtpolice/scripts/multi-user-sandboxDomen Kožar1-1/+0
scripts: remove default 'sandbox = false' from multi-user installer
2019-03-24 Add isPath primopzimbatm3-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-descEelco Dolstra1-2/+14
eval: improve type description for primops and applied primops
2019-03-21 eval: improve type description for primops and applied primopsLinus Heckemann1-2/+14
This can make type errors a little easier to understand.
2019-03-21 Merge pull request #2739 from mayflower/builtins-doc-explicitEelco Dolstra1-0/+17
manual: include builtins.* for globally available builtins
2019-03-21 manual: include builtins.* for globally available builtinsLinus Heckemann1-0/+17
This improves searchability.
2019-03-18 Merge pull request #2731 from nomeata/link-to-conf-builders-use-substitutesEelco Dolstra1-0/+4
Link to `builders-use-substitutes` in chapter on distributed builds
2019-03-16 Link to `builders-use-substitutes` in chapter on distributed buildsJoachim Breitner1-0/+4
fixes #2730.
2019-03-15 Merge pull request #2727 from Chakerbh/masterEelco Dolstra1-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 Benhamed1-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-typoGraham Christensen1-1/+1
docs: fix typo in AllowDirectReads
2019-03-14 docs: fix typo in AllowDirectReadsAndreas Rammhold1-1/+1
It was just missing an `l` but should be fixed anyway.
2019-03-14 pkg-config files: Use c++17Eelco Dolstra3-3/+3
2019-03-14 experimental/optional -> optionalEelco Dolstra14-26/+26
2019-03-14 nix-store --gc --print-roots: Sort outputEelco Dolstra1-1/+5
2019-03-14 findRoots(): Don't censor for trusted usersEelco Dolstra1-1/+1
They're pretty much root anyway.
2019-03-14 findRoots(): Add 'censor' parameterEelco Dolstra7-53/+40
This is less brittle than filtering paths after the fact in nix-daemon.
2019-03-14 findRuntimeRoots: Simplify/fix handling of /proc filesEelco Dolstra2-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 formatGuillaume Maudoux1-1/+1
2019-03-10 Fix warning about unused variableGuillaume Maudoux1-2/+5
2019-03-10 Unify internal findRootsXxx() apiGuillaume Maudoux2-24/+15
2019-03-10 unify naming of roots as links & targetsGuillaume Maudoux1-6/+6
2019-03-10 require c++ 17Guillaume Maudoux1-1/+1
This fixes warnings about "structured binding declaration" requiring "-std=c++1z".
2019-03-10 Also obfuscate the number of memory rootsGuillaume Maudoux1-2/+16
2019-03-10 Also print rooted path in `nix-store -q --roots`Guillaume Maudoux1-1/+1
2019-03-10 fixup! Make roots a map of store paths to pinning linksGuillaume Maudoux1-3/+3
2019-03-10 Make roots a map of store paths to pinning linksGuillaume Maudoux5-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 usersGuillaume Maudoux2-9/+16