Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-11-14 | Rename tests/nar-index -> tests/nar-access | Eelco Dolstra | 3 | -3/+3 | |
2017-11-07 | Show when tests are skipped | Eelco Dolstra | 2 | -2/+2 | |
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-03 | fetchGit/fetchMercurial: Filter out directories with untracked files | Eelco Dolstra | 2 | -6/+12 | |
2017-11-03 | fetchGit: Add a test | Eelco Dolstra | 3 | -1/+85 | |
2017-11-01 | fetchMercurial: Don't fetch hashes we already have | Eelco Dolstra | 1 | -5/+13 | |
2017-11-01 | Add fetchMercurial primop | Eelco Dolstra | 2 | -1/+75 | |
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-30 | Don't parse "x:x" as a URI | Eelco Dolstra | 2 | -2/+3 | |
URIs now have to contain "://" or start with "channel:". | |||||
2017-10-30 | Add option allowed-uris | Eelco Dolstra | 1 | -0/+12 | |
This allows network access in restricted eval mode. | |||||
2017-10-25 | exportReferencesGraph: Allow exporting a list of store paths | Eelco Dolstra | 1 | -1/+1 | |
2017-10-25 | Fix exportReferencesGraph in the structured attrs case | Eelco Dolstra | 1 | -0/+19 | |
2017-10-25 | Pass lists/attrsets to bash as (associative) arrays | Eelco Dolstra | 4 | -2/+57 | |
2017-10-24 | Allow shorter syntax for chroot stores | Eelco Dolstra | 2 | -4/+4 | |
You can now say '--store /tmp/nix' instead of '--store local?root=/tmp/nix'. | |||||
2017-10-24 | More progress indicator improvements | Eelco Dolstra | 1 | -1/+1 | |
In particular, don't show superfluous "fetching path" and "building path(s)" messages, and show the current round (with --repeat). | |||||
2017-10-23 | NIX_BUILD_HOOK variable is gone | Eelco Dolstra | 1 | -1/+0 | |
2017-10-23 | Pass all settings to build-remote | Eelco Dolstra | 4 | -43/+5 | |
This ensures that command line flags such as --builders get passed correctly. | |||||
2017-10-02 | Fix tests | Dan Peebles | 3 | -4/+4 | |
`nix copy` no longer accepts a `--recursive` argument | |||||
2017-08-31 | Rename a few configuration options | Eelco Dolstra | 8 | -18/+16 | |
In particular, drop the "build-" and "gc-" prefixes which are pointless. So now you can say nix build --no-sandbox instead of nix build --no-build-use-sandbox | |||||
2017-08-15 | Add builtins.string function. | Nicolas B. Pierron | 1 | -0/+48 | |
The function 'builtins.split' takes a POSIX extended regular expression and an arbitrary string. It returns a list of non-matching substring interleaved by lists of matched groups of the regular expression. ```nix with builtins; assert split "(a)b" "abc" == [ "" [ "a" ] "c" ]; assert split "([ac])" "abc" == [ "" [ "a" ] "b" [ "c" ] "" ]; assert split "(a)|(c)" "abc" == [ "" [ "a" null ] "b" [ null "c" ] "" ]; assert split "([[:upper:]]+)" " FOO " == [ " " [ "FOO" ] " " ]; ``` | |||||
2017-07-30 | Replace Unicode quotes in user-facing strings by ASCII | Jörg Thalheim | 2 | -2/+2 | |
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g" | |||||
2017-07-18 | Update mailing list. | Graham Christensen | 1 | -1/+1 | |
2017-07-17 | Always use base-16 for hashed mirror lookups | Eelco Dolstra | 1 | -0/+13 | |
In particular, don't use base-64, which we don't support. (We do have base-32 redirects for hysterical reasons.) Also, add a test for the hashed mirror feature. | |||||
2017-07-17 | Make the hashes mirrors used by builtins.fetchurl configurable | Eelco Dolstra | 1 | -2/+2 | |
In particular, this allows it to be disabled in our tests. | |||||
2017-07-14 | Rename PINCH_ME_IM_SILLY to ALLOW_PREEXISTING_INSTALLATION | Graham Christensen | 1 | -1/+1 | |
2017-07-14 | If there is no TTY, also skip verbose sudo messages | Graham Christensen | 1 | -0/+1 | |
2017-07-14 | Ensure PINCH_ME_IM_SILLY allows a /nix/store to stick around between builds | Graham Christensen | 1 | -1/+6 | |
Also output in the status report that the user is very silly | |||||
2017-07-14 | Assume yes if we have no TTY | Graham Christensen | 1 | -2/+3 | |
Starve the TTY of input to ensure this works, but provide yes to the current installer to handle the current broken case. | |||||
2017-07-14 | Cleanup and more specificity around set -e | Graham Christensen | 1 | -3/+5 | |
2017-07-14 | Only clean if the file exists | Graham Christensen | 1 | -2/+4 | |
2017-07-14 | Clean up nix hints from the old insstaller | Graham Christensen | 1 | -3/+7 | |
2017-07-14 | Run nix-build inside a fresh bash login | Graham Christensen | 1 | -1/+6 | |
2017-07-14 | chmod | Graham Christensen | 1 | -0/+0 | |
2017-07-14 | Test the installer | Graham Christensen | 1 | -0/+76 | |
2017-07-06 | Remove unused variable from test script | Robert Vollmert | 1 | -2/+0 | |
2017-07-04 | Support base-64 hashes | Eelco Dolstra | 2 | -3/+16 | |
Also simplify the Hash API. Fixes #1437. | |||||
2017-06-19 | macOS: Ugly hack to make the tests succeed | Eelco Dolstra | 1 | -0/+4 | |
Sandboxes cannot be nested, so if Nix's build runs inside a sandbox, it cannot use a sandbox itself. I don't see a clean way to detect whether we're in a sandbox, so use a test-specific hack. https://github.com/NixOS/nix/issues/1413 | |||||
2017-05-29 | Add test for setuid seccomp filter | Eelco Dolstra | 1 | -0/+108 | |
2017-05-24 | Merge branch 'nar-accessor-tree' of https://github.com/bennofs/nix | Eelco Dolstra | 3 | -1/+48 | |
2017-05-17 | Document that builtins.match takes a POSIX extended RE | Eelco Dolstra | 1 | -0/+3 | |
2017-05-15 | nar-archive.cc: add tests for the nar index | Benno Fünfstück | 3 | -1/+48 | |
2017-05-08 | Linux sandbox: Fix compatibility with older kernels | Eelco Dolstra | 1 | -1/+1 | |
2017-05-05 | Make the location of the build directory in the sandbox configurable | Eelco Dolstra | 1 | -2/+6 | |
This is mostly for use in the sandbox tests, since if the Nix store is under /build, then we can't use /build as the build directory. | |||||
2017-05-02 | build-remote: Add a basic test | Eelco Dolstra | 3 | -1/+27 | |
This only runs on Linux because it requires a diverted store (which uses mount/user namespaces). | |||||
2017-05-02 | Add a test for diverted stores | Eelco Dolstra | 2 | -1/+29 | |
2017-05-02 | Fix build hook test | Eelco Dolstra | 1 | -2/+2 | |
2017-05-01 | Remove $NIX_BUILD_HOOK and $NIX_CURRENT_LOAD | Eelco Dolstra | 1 | -1/+0 | |
This is to simplify remote build configuration. These environment variables predate nix.conf. The build hook now has a sensible default (namely build-remote). The current load is kept in the Nix state directory now. | |||||
2017-05-01 | Fix lexer to support `$'` in multiline strings. | Guillaume Maudoux | 2 | -2/+10 | |
2017-04-25 | Fix nix-shell test | Eelco Dolstra | 1 | -2/+4 | |
2017-04-13 | Convert Settings to the new config system | Eelco Dolstra | 1 | -1/+1 | |
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning. | |||||
2017-04-08 | tests/timeout: create output so tests don't trivially pass | Will Dietz | 1 | -0/+3 | |
Timeout tests rely on failed build to determine success, so make sure these derivations (silent in particular) don't fail regardless of timeout behavior. | |||||
2017-04-08 | Process nix.conf options in "new" nix commands, add test. | Will Dietz | 1 | -0/+5 | |
Without this (minor) change, the options set using "--option" or read from nix.conf were parsed but not used. |