Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-12-07 | nix ls-{nar,store}: Return offset of files in the NAR if known | Eelco Dolstra | 3 | -9/+12 | |
E.g. $ nix ls-store --json --recursive --store https://cache.nixos.org /nix/store/b0w2hafndl09h64fhb86kw6bmhbmnpm1-blender-2.79 \ | jq .entries.bin.entries.blender.narOffset 400 | |||||
2017-12-06 | Merge pull request #1714 from LnL7/fix-ssh-store-nar | Eelco Dolstra | 1 | -3/+3 | |
ssh-store: fix length when writing nar | |||||
2017-12-06 | ssh-store: fix length when writing nar | Daiderd Jordan | 1 | -3/+3 | |
This fixes nix copy and other things that use copyStorePath. | |||||
2017-12-05 | Merge branch 'fetchGit-fast-revision-update' | Shea Levy | 3 | -24/+43 | |
2017-12-04 | Simplify build by including nlohmann/json.hpp | Eelco Dolstra | 4 | -4/+14724 | |
2017-12-04 | Fix #1635. | Eelco Dolstra | 1 | -3/+18 | |
2017-11-29 | Merge pull request #1704 from lheckemann/buildenv-eol-fix | Eelco Dolstra | 1 | -2/+2 | |
Fix "Unexpected EOF reading a line" error | |||||
2017-11-29 | Fix "Unexpected EOF reading a line" error | Linus Heckemann | 1 | -2/+2 | |
propagated-user-env-packages files in nixpkgs aren't all terminated by newlines, as buildenv expected. Now it does not require a terminating newline; note that this introduces a behaviour change: propagated user env packages may now be spread across multiple lines. However, nix 1.11.x still expects them to be on a single line so this shouldn't be used in nixpkgs for now. | |||||
2017-11-28 | Show log tail when a remote build fails | Eelco Dolstra | 1 | -2/+2 | |
2017-11-27 | Merge pull request #1699 from aszlig/fix-remote-build-log | Eelco Dolstra | 2 | -2/+5 | |
build-remote: Fix missing log output | |||||
2017-11-25 | build-remote: Fix missing log output | aszlig | 2 | -2/+5 | |
The storeUri variable in the build-remote hook is declared very much to the start of the main function and a bunch of lines later, the same variable gets checked via hasPrefix() but it gets assigned *after* that check when the most suitable machine for the build was choosen. So I guess this was just a typo in d16fd2497374671c92cb877f9570d65783a7 and what we really want is to either checkd the prefix *after* assigning storeUri or use bestMachine->storeUri directly. I choose the latter, because the former could introduce even more regressions if the try block where the variable gets assigned terminates early. Nevertheless, the reason why the log output didn't work is because hasPrefix() checked for "ssh://" in front of storeUri, but if the storeUri isn't set correctly (or at all), we don't get the log file descriptor set up properly, leading to no log output. I've adjusted the remote-builds test to include a regression test for this, so that we can make sure we get a build output when using remote builds. In addition to that I've tested this with two of my build farms and the build logs are emitted correctly again. Signed-off-by: aszlig <aszlig@nix.build> | |||||
2017-11-24 | nix path-info: Show URL of NARs in binary caches | Eelco Dolstra | 1 | -0/+2 | |
2017-11-24 | nix-shell/nix-build: Support .drv files again | Eelco Dolstra | 6 | -4/+61 | |
Fixes #1663. Also handle '!<output-name>' (#1694). | |||||
2017-11-24 | fetchGit: Ignore tarballTtl if rev is set and not in the repo. | Shea Levy | 3 | -24/+43 | |
Fixes #1697. | |||||
2017-11-21 | tests/run.sh: Fix /build conflict when building in a sandbox | Eelco Dolstra | 1 | -1/+3 | |
https://hydra.nixos.org/build/64519355 | |||||
2017-11-21 | fetchGit/fetchMercurial: Fix directory inclusion check | Eelco Dolstra | 4 | -6/+12 | |
E.g. the existence of .gitignore would cause .git to be included. | |||||
2017-11-21 | Propagate flags like --sandbox to the daemon properly | Eelco Dolstra | 3 | -6/+12 | |
2017-11-21 | Add a warning about the 'trusted-users' option | Eelco Dolstra | 1 | -5/+6 | |
2017-11-20 | Add tests for verifying/copying content-addressed paths | Eelco Dolstra | 1 | -1/+14 | |
These don't require signatures. | |||||
2017-11-20 | Add tests for signature checking when copying between local stores | Eelco Dolstra | 1 | -0/+20 | |
2017-11-20 | Document secret-key-files | Eelco Dolstra | 1 | -3/+16 | |
2017-11-20 | Add tests for "nix run" | Eelco Dolstra | 3 | -1/+46 | |
2017-11-20 | nix eval --raw: Use coerceToString() | Eelco Dolstra | 1 | -2/+6 | |
Thus, $ nix eval --raw '("foo")' foo $ nix eval --raw nixpkgs.hello /nix/store/1y6ckg6khrdsvll54s5spcmf3w6ka9k4-hello-2.10 $ nix eval --raw '(/etc/resolv.conf)' /nix/store/vml92ama92i8mz013nny461mlvg8mvap-resolv.conf | |||||
2017-11-20 | nix run: Fix "flag '--command' requires 2 argument(s)" | Eelco Dolstra | 1 | -1/+1 | |
2017-11-20 | nix run: Fix accidental removal of /nix/store existence check | Eelco Dolstra | 1 | -1/+1 | |
Parenthetical to #1686, we don't need to create a new root if we can just bind-mount on top of the existing /nix/store. | |||||
2017-11-20 | nix run: Ignore non-directories while setting up the chroot | Eelco Dolstra | 1 | -3/+6 | |
Fixes #1686. | |||||
2017-11-20 | Test: Replace --option with the corresponding flag | Eelco Dolstra | 11 | -45/+45 | |
2017-11-20 | signed-binary-caches -> require-sigs | Eelco Dolstra | 5 | -17/+25 | |
Unlike signed-binary-caches (which could only be '*' or ''), require-sigs is a proper Boolean option. The default is true. | |||||
2017-11-20 | Cleanup | Eelco Dolstra | 1 | -2/+2 | |
2017-11-20 | binary-cache-public-keys -> trusted-public-keys | Eelco Dolstra | 5 | -19/+20 | |
The name had become a misnomer since it's not only for substitution from binary caches, but when adding/copying any (non-content-addressed) path to a store. | |||||
2017-11-20 | install-darwin-multi-user.sh: Remove superfluous nix.conf settings | Eelco Dolstra | 1 | -8/+0 | |
2017-11-20 | Merge pull request #1645 from twhitehead/stat-race | Eelco Dolstra | 1 | -12/+11 | |
Fix (highly unlikely) race condition in readLink | |||||
2017-11-20 | nix copy: Abbreviate "daemon" | Eelco Dolstra | 1 | -2/+2 | |
2017-11-15 | Add a "profile" option to S3BinaryCacheStore | Eelco Dolstra | 3 | -5/+14 | |
This allows specifying the AWS configuration profile to use. E.g. nix copy --from s3://my-cache?profile=aws-dev-account /nix/store/cf3isrlqavvd5w7rpky1fa8j9lcnlggm-... | |||||
2017-11-15 | Merge pull request #1678 from dtzWill/feature/anchor-exit-exception | Eelco Dolstra | 2 | -0/+2 | |
anchor nix::Exit exception | |||||
2017-11-15 | Doh | Eelco Dolstra | 1 | -0/+11 | |
2017-11-14 | anchor nix::Exit exception | Will Dietz | 2 | -0/+2 | |
2017-11-14 | Add dependencies for coverage test | Eelco Dolstra | 1 | -1/+1 | |
2017-11-14 | Update lcov filter | Eelco Dolstra | 1 | -1/+1 | |
2017-11-14 | nix sign-paths: Support binary caches | Eelco Dolstra | 3 | -15/+43 | |
2017-11-14 | Add tests for "nix verify", "nix sign-paths" etc. | Eelco Dolstra | 2 | -1/+64 | |
2017-11-14 | Revert "Don't parse "x:x" as a URI" | Eelco Dolstra | 3 | -4/+3 | |
This reverts commit f90f660b243866b8860eeb24cc4a345d32cc7ce7. This broke Hydra's release.nix, which contained preCheck = ''export LOGNAME=${LOGNAME:-foo}''; | |||||
2017-11-14 | nix ls-{nar,store}: Don't abort on missing files | Eelco Dolstra | 2 | -1/+5 | |
2017-11-14 | Add some tests | Eelco Dolstra | 1 | -4/+15 | |
2017-11-14 | nix ls-{nar,store} --json: Respect -R | Eelco Dolstra | 4 | -6/+13 | |
2017-11-14 | Don't indent JSON output | Eelco Dolstra | 4 | -4/+4 | |
2017-11-14 | nix ls-{store,nar}: Add --json flag | Eelco Dolstra | 4 | -40/+53 | |
2017-11-14 | Remove ncurses-bin | Eelco Dolstra | 1 | -1/+1 | |
2017-11-14 | Make config options available to legacy commands | Eelco Dolstra | 2 | -4/+4 | |
2017-11-14 | Rename tests/nar-index -> tests/nar-access | Eelco Dolstra | 3 | -3/+3 | |