Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-07-14 | Assume yes if we have no TTY | Graham Christensen | 2 | -2/+14 | |
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 | 2 | -0/+78 | |
2017-07-14 | Address feedback around printf & exec | Graham Christensen | 2 | -2/+2 | |
2017-07-14 | Don't install a second nix after the initial installation, and the rsync ↵ | Graham Christensen | 1 | -4/+1 | |
change fixes a bug hidden by the nix replacement where the store files were being owned by the installing user due to rsync's -a implying -og. | |||||
2017-07-14 | Clean up issues around uninstall directions, and only show | Graham Christensen | 1 | -29/+77 | |
relevant directions | |||||
2017-07-14 | Prompt for sudo before validating assumptions, and check ourselves for ↵ | Graham Christensen | 1 | -25/+13 | |
root-owned files instead of making a scary warning. | |||||
2017-07-14 | multi-user install: move the profile in to the nix etc/profiles.d output | Graham Christensen | 1 | -68/+1 | |
2017-07-14 | Switch to a fancy multi-user installer on Darwin | Graham Christensen | 3 | -8/+831 | |
2017-07-14 | Shellcheck the existing installer | Graham Christensen | 1 | -1/+4 | |
2017-07-14 | nix: Show help when no arguments are given | Eelco Dolstra | 4 | -10/+14 | |
Fixes #1464. | |||||
2017-07-14 | Tarball job: Include libseccomp on Linux only | Eelco Dolstra | 1 | -2/+1 | |
2017-07-14 | Shut up a memory leak warning | Eelco Dolstra | 1 | -1/+2 | |
2017-07-11 | replaceSymlink(): Handle the case where the temporary file already exists | Eelco Dolstra | 1 | -4/+13 | |
Not really necessary anymore for #849, but still nice to have. | |||||
2017-07-11 | fetchTarball: Prevent concurrent downloads of the same file | Eelco Dolstra | 1 | -0/+4 | |
Fixes #849. | |||||
2017-07-10 | Merge pull request #1422 from nh2/fix-potential-hash-comparison-crash | Eelco Dolstra | 1 | -0/+2 | |
Fix potential crash/wrong result two hashes of unequal length are compared | |||||
2017-07-10 | Merge branch 'man2' of git://github.com/robx/nix | Shea Levy | 9 | -50/+65 | |
2017-07-10 | fix buggy nix-shell man page | Robert Vollmert | 1 | -1/+1 | |
2017-07-10 | Merge pull request #1428 from rimmington/clearer-regex-space-error | Eelco Dolstra | 1 | -2/+7 | |
Clearer error message when regex exceeds space limit | |||||
2017-07-10 | Clearer error message when regex exceeds space limit | Rhys | 1 | -2/+7 | |
2017-07-07 | man page (nix-shell): Fix grouping of -p option | Robert Vollmert | 1 | -4/+4 | |
Not sure about the raw ellipsis. | |||||
2017-07-07 | man page (nix-prefetch-url): Add some missing options | Robert Vollmert | 1 | -2/+4 | |
2017-07-07 | man page (nix-instantiate): -E is optional | Robert Vollmert | 1 | -1/+1 | |
2017-07-07 | man page (nix-instantiate): Add --json to synopsis, order variables | Robert Vollmert | 1 | -16/+17 | |
2017-07-07 | man page (nix-instantiate): Remove non-existent nix-build argument -r | Robert Vollmert | 1 | -1/+1 | |
2017-07-07 | man pages: Consistently separate alternatives by / | Robert Vollmert | 2 | -12/+6 | |
2017-07-07 | man pages: Argument for --max-jobs | Robert Vollmert | 1 | -2/+2 | |
2017-07-07 | man pages: Grouping for option alternatives | Robert Vollmert | 2 | -10/+28 | |
2017-07-07 | glossary: Fix word order | Robert Vollmert | 1 | -1/+1 | |
2017-07-07 | Merge pull request #1445 from matthewbauer/macos-skip-hardlink | Eelco Dolstra | 1 | -0/+14 | |
Don’t hardlink disallowed paths in OS X. | |||||
2017-07-07 | Merge pull request #1444 from robx/man | Eelco Dolstra | 2 | -3/+2 | |
Fix nix-instantiate manpage indentation | |||||
2017-07-06 | Don’t hardlink disallowed paths in OS X. | Matthew Bauer | 1 | -0/+14 | |
Fixes #1443 | |||||
2017-07-06 | Remove unused variable from test script | Robert Vollmert | 1 | -2/+0 | |
2017-07-06 | Fix nix-instantiate manpage indentation | Robert Vollmert | 1 | -1/+2 | |
The second command variant is now its own cmdsynopsis, which ensures it's not indented as was the case using sbrk. | |||||
2017-07-04 | Add X32 to the seccomp filter | Eelco Dolstra | 1 | -0/+4 | |
Fixes #1432. | |||||
2017-07-04 | Sort substituters by priority | Eelco Dolstra | 3 | -0/+11 | |
Fixes #1438. | |||||
2017-07-04 | getDefaultSubstituters(): Simplify initialisation | Eelco Dolstra | 1 | -20/+14 | |
As shlevy pointed out, static variables in C++11 have thread-safe initialisation. | |||||
2017-07-04 | Add allow-new-privileges option | Eelco Dolstra | 3 | -0/+26 | |
This allows builds to call setuid binaries. This was previously possible until we started using seccomp. Turns out that seccomp by default disallows processes from acquiring new privileges. Generally, any use of setuid binaries (except those created by the builder itself) is by definition impure, but some people were relying on this ability for certain tests. Example: $ nix build '(with import <nixpkgs> {}; runCommand "foo" {} "/run/wrappers/bin/ping -c 1 8.8.8.8; exit 1")' --no-allow-new-privileges builder for ‘/nix/store/j0nd8kv85hd6r4kxgnwzvr0k65ykf6fv-foo.drv’ failed with exit code 1; last 2 log lines: cannot raise the capability into the Ambient set : Operation not permitted $ nix build '(with import <nixpkgs> {}; runCommand "foo" {} "/run/wrappers/bin/ping -c 1 8.8.8.8; exit 1")' --allow-new-privileges builder for ‘/nix/store/j0nd8kv85hd6r4kxgnwzvr0k65ykf6fv-foo.drv’ failed with exit code 1; last 6 log lines: PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=15.2 ms Fixes #1429. | |||||
2017-07-04 | Fix handling of expression installables with a / in them | Eelco Dolstra | 1 | -4/+4 | |
2017-07-04 | Support base-64 hashes | Eelco Dolstra | 23 | -213/+205 | |
Also simplify the Hash API. Fixes #1437. | |||||
2017-07-04 | <nix/fetchurl.nix>: Support sha512 argument | Eelco Dolstra | 1 | -3/+3 | |
2017-07-03 | nix-shell: Respect --dry-run | Eelco Dolstra | 1 | -0/+2 | |
Fixes #824. | |||||
2017-07-03 | Replace a few bool flags with enums | Eelco Dolstra | 22 | -141/+138 | |
Functions like copyClosure() had 3 bool arguments, which creates a severe risk of mixing up arguments. Also, implement copyClosure() using copyPaths(). | |||||
2017-07-03 | processGraph(): Call getEdges in parallel | Eelco Dolstra | 1 | -28/+47 | |
2017-06-30 | Merge pull request #1417 from corngood/cygwin-fix | Eelco Dolstra | 1 | -0/+14 | |
Call SetDllDirectory("") after sqlite3 init on cygwin | |||||
2017-06-24 | Fix potential crash/wrong result two hashes of unequal length are compared | Niklas Hambüchen | 1 | -0/+2 | |