Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2017-11-08 | Remove extraneous comment | Eelco Dolstra | 1 | -3/+0 | |
2017-11-08 | Merge pull request #1650 from copumpkin/darwin-sandbox-unix-socket | Eelco Dolstra | 1 | -1/+8 | |
Always allow builds to use unix domain sockets in Darwin sandbox | |||||
2017-11-07 | Show when tests are skipped | Eelco Dolstra | 3 | -9/+11 | |
Also, don't depend on tput (ncurses). It's really not needed since ANSI escape sequences have been standardized for 35 years or so. | |||||
2017-11-06 | Merge pull request #1632 from AmineChikhaoui/sigint-copy | Eelco Dolstra | 1 | -1/+9 | |
run query paths in parallel during nix copy and handle SIGINT | |||||
2017-11-03 | fetchgit.cc -> fetchGit.cc | Eelco Dolstra | 1 | -0/+0 | |
2017-11-03 | Remove git:// support in NIX_PATH | Eelco Dolstra | 4 | -38/+9 | |
This didn't support specifying a revision/branch, and was restricted to git:// URIs (since https:// or ssh:// would be ambiguous). | |||||
2017-11-03 | fetchGit/fetchMercurial: Filter out directories with untracked files | Eelco Dolstra | 4 | -14/+28 | |
2017-11-03 | fetchGit: Add a test | Eelco Dolstra | 6 | -2/+90 | |
2017-11-03 | fetchGit: Don't do a remote fetch if we already have the rev | Eelco Dolstra | 1 | -15/+23 | |
2017-11-03 | Merge pull request #1651 from LnL7/darwin-sandbox-getpwuid | Eelco Dolstra | 1 | -0/+3 | |
Allow getpwuid in the darwin sandbox | |||||
2017-11-03 | Allow getpwuid in the darwin sandbox. | Daiderd Jordan | 1 | -0/+3 | |
2017-11-03 | Merge pull request #1660 from 4z3/patch-1 | Eelco Dolstra | 1 | -1/+1 | |
fetchMercurial: fix error message | |||||
2017-11-03 | Merge pull request #1655 from copumpkin/patch-1 | Eelco Dolstra | 1 | -2/+2 | |
Don't freak out if we get a 403 from S3 | |||||
2017-11-03 | Don't freak out if we get a 403 from S3 | Daniel Peebles | 1 | -2/+2 | |
As far as we're concerned, not being able to access a file just means the file is missing. Plus, AWS explicitly goes out of its way to return a 403 if the file is missing and the requester doesn't have permission to list the bucket. Also getting rid of an old hack that Eelco said was only relevant to an older AWS SDK. | |||||
2017-11-02 | fetchMercurial: fix error message | tv | 1 | -1/+1 | |
2017-11-02 | Merge pull request #1657 from plesiv/docs-typeof-fix | Eelco Dolstra | 1 | -8/+19 | |
Mention "float" type in the docs | |||||
2017-11-01 | Mention isFloat function in "Built-in Functions" section | Zoran Plesivčak | 1 | -0/+10 | |
2017-11-01 | Mention "float" type in builtins.typeOf section of the docs | Zoran Plesivčak | 1 | -8/+9 | |
+ remove trailing whitespace from the file | |||||
2017-11-01 | Fix build | Eelco Dolstra | 2 | -2/+2 | |
https://hydra.nixos.org/build/63172338 | |||||
2017-11-01 | fetchMercurial: Don't fetch hashes we already have | Eelco Dolstra | 4 | -29/+75 | |
2017-11-01 | Add fetchMercurial primop | Eelco Dolstra | 7 | -5/+269 | |
E.g. $ nix eval '(fetchMercurial https://www.mercurial-scm.org/repo/hello)' { branch = "default"; outPath = "/nix/store/alvb9y1kfz42bjishqmyy3pphnrh1pfa-source"; rev = "82e55d328c8ca4ee16520036c0aaace03a5beb65"; revCount = 1; shortRev = "82e55d328c8c"; } $ nix eval '(fetchMercurial { url = https://www.mercurial-scm.org/repo/hello; rev = "0a04b987be5ae354b710cefeba0e2d9de7ad41a9"; })' { branch = "default"; outPath = "/nix/store/alvb9y1kfz42bjishqmyy3pphnrh1pfa-source"; rev = "0a04b987be5ae354b710cefeba0e2d9de7ad41a9"; revCount = 0; shortRev = "0a04b987be5a"; } $ nix eval '(fetchMercurial /tmp/unclean-hg-tree)' { branch = "default"; outPath = "/nix/store/cm750cdw1x8wfpm3jq7mz09r30l9r024-source"; rev = "0000000000000000000000000000000000000000"; revCount = 0; shortRev = "000000000000"; } | |||||
2017-10-31 | Fix filterSource | Eelco Dolstra | 1 | -32/+14 | |
2017-10-31 | Always allow builds to use unix domain sockets in Darwin sandbox | Dan Peebles | 1 | -1/+8 | |
2017-10-30 | builtins.fetchgit: Support importing a working tree | Eelco Dolstra | 7 | -17/+54 | |
For example, you can write src = fetchgit ./.; and if ./. refers to an unclean working tree, that tree will be copied to the Nix store. This removes the need for "cleanSource". | |||||
2017-10-30 | Merge pull request #1646 from copumpkin/optional-sandbox-local-network | Eelco Dolstra | 2 | -5/+33 | |
Allow optional localhost network access to sandboxed derivations | |||||
2017-10-30 | Allow optional localhost network access to sandboxed derivations | Dan Peebles | 2 | -5/+33 | |
This will allow bind and connect to 127.0.0.1, which can reduce purity/ security (if you're running a vulnerable service on localhost) but is also needed for a ton of test suites, so I'm leaving it turned off by default but allowing certain derivations to turn it on as needed. It also allows DNS resolution of arbitrary hostnames but I haven't found a way to avoid that. In principle I'd just want to allow resolving localhost but that doesn't seem to be possible. I don't think this belongs under `build-use-sandbox = relaxed` because we want it on Hydra and I don't think it's the end of the world. | |||||
2017-10-30 | Don't parse "x:x" as a URI | Eelco Dolstra | 3 | -3/+4 | |
URIs now have to contain "://" or start with "channel:". | |||||
2017-10-30 | nix-build: Fix --hash | Eelco Dolstra | 1 | -0/+3 | |
2017-10-30 | Make "fetchGit /path" work | Eelco Dolstra | 1 | -5/+5 | |
2017-10-30 | fetchGit: Fix broken assertion | Eelco Dolstra | 1 | -1/+1 | |
Different URIs can map to the same cache entry if they have the same revision. | |||||
2017-10-30 | Add option allowed-uris | Eelco Dolstra | 8 | -7/+67 | |
This allows network access in restricted eval mode. | |||||
2017-10-30 | fetchurl/fetchTarball are *not* allowed in restricted mode | Eelco Dolstra | 1 | -2/+1 | |
Accidentally committed this change as part of f9686885be54a9b0f8947713a414de4ad3182037. Restricted mode != pure mode. | |||||
2017-10-30 | Merge pull request #1633 from orivej/doc | Domen Kožar | 3 | -15/+54 | |
Update the language documentation | |||||
2017-10-30 | builtins.fetchGit: Return an attrset with revision info | Eelco Dolstra | 3 | -18/+54 | |
This adds rev, shortRev and revCount attributes, equal to what Hydra provides. E.g. $ nix eval '(fetchGit https://github.com/NixOS/patchelf.git)' { outPath = "/nix/store/ghigrkw02l440g8vfxa9wj4c3zpfmw99-source"; rev = "29c085fd9d3fc972f75b3961905d6b4ecce7eb2b"; revCount = 303; shortRev = "29c085f"; } | |||||
2017-10-30 | enable-http2 -> http2 | Eelco Dolstra | 2 | -2/+2 | |
2017-10-30 | fetchgit -> fetchGit | Eelco Dolstra | 2 | -5/+5 | |
Almost all other primops are camelCase so no reason not to use that here. |