about summary refs log tree commit diff
path: root/bootstrap.sh (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2017-07-14 nix path-info: Show download sizes for binary cache storesEelco Dolstra3-9/+30
E.g. $ nix path-info --json --store https://cache.nixos.org nixpkgs.thunderbird -S ... "downloadHash": "sha256:1jlixpzi225wwa0f4xdrwrqgi47ip1qpj9p06fyxxg07sfmyi4q0", "downloadSize": 43047620, "closureDownloadSize": 84745960 } ]
2017-07-14 Avoid a call to derivationFromPath()Eelco Dolstra3-28/+29
This doesn't work in read-only mode, ensuring that operations like nix path-info --store https://cache.nixos.org -S nixpkgs.hello (asking for the closure size of nixpkgs.hello in cache.nixos.org) work when nixpkgs.hello doesn't exist in the local store.
2017-07-14 nix path-info: Don't barf on invalid pathsEelco Dolstra3-30/+38
Now you get [ { "path": "/nix/store/fzvliz4j5xzvnd0w5zgw2l0ksqh578yk-bla", "valid": false } ]
2017-07-14 StorePathsCommand: Don't build installablesEelco Dolstra5-8/+10
On second though this was annoying. E.g. "nix log nixpkgs.hello" would build/download Hello first, even though the log can be fetched directly from the binary cache. May need to revisit this.
2017-07-14 Rename PINCH_ME_IM_SILLY to ALLOW_PREEXISTING_INSTALLATIONGraham Christensen2-4/+4
2017-07-14 If there is no TTY, also skip verbose sudo messagesGraham Christensen2-3/+34
2017-07-14 Ensure PINCH_ME_IM_SILLY allows a /nix/store to stick around between buildsGraham Christensen2-6/+9
Also output in the status report that the user is very silly
2017-07-14 Assume yes if we have no TTYGraham Christensen2-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 -eGraham Christensen1-3/+5
2017-07-14 Only clean if the file existsGraham Christensen1-2/+4
2017-07-14 Clean up nix hints from the old insstallerGraham Christensen1-3/+7
2017-07-14 Run nix-build inside a fresh bash loginGraham Christensen1-1/+6
2017-07-14 chmodGraham Christensen1-0/+0
2017-07-14 Test the installerGraham Christensen2-0/+78
2017-07-14 Address feedback around printf & execGraham Christensen2-2/+2
2017-07-14 Don't install a second nix after the initial installation, and the rsync ↵Graham Christensen1-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 showGraham Christensen1-29/+77
relevant directions
2017-07-14 Prompt for sudo before validating assumptions, and check ourselves for ↵Graham Christensen1-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 outputGraham Christensen1-68/+1
2017-07-14 Switch to a fancy multi-user installer on DarwinGraham Christensen3-8/+831
2017-07-14 Shellcheck the existing installerGraham Christensen1-1/+4
2017-07-14 nix: Show help when no arguments are givenEelco Dolstra4-10/+14
Fixes #1464.
2017-07-14 Tarball job: Include libseccomp on Linux onlyEelco Dolstra1-2/+1
2017-07-14 Shut up a memory leak warningEelco Dolstra1-1/+2
2017-07-11 replaceSymlink(): Handle the case where the temporary file already existsEelco Dolstra1-4/+13
Not really necessary anymore for #849, but still nice to have.
2017-07-11 fetchTarball: Prevent concurrent downloads of the same fileEelco Dolstra1-0/+4
Fixes #849.
2017-07-10 fix buggy nix-shell man pageRobert Vollmert1-1/+1
2017-07-10 Clearer error message when regex exceeds space limitRhys1-2/+7
2017-07-07 man page (nix-shell): Fix grouping of -p optionRobert Vollmert1-4/+4
Not sure about the raw ellipsis.
2017-07-07 man page (nix-prefetch-url): Add some missing optionsRobert Vollmert1-2/+4
2017-07-07 man page (nix-instantiate): -E is optionalRobert Vollmert1-1/+1
2017-07-07 man page (nix-instantiate): Add --json to synopsis, order variablesRobert Vollmert1-16/+17
2017-07-07 man page (nix-instantiate): Remove non-existent nix-build argument -rRobert Vollmert1-1/+1
2017-07-07 man pages: Consistently separate alternatives by /Robert Vollmert2-12/+6
2017-07-07 man pages: Argument for --max-jobsRobert Vollmert1-2/+2
2017-07-07 man pages: Grouping for option alternativesRobert Vollmert2-10/+28
2017-07-07 glossary: Fix word orderRobert Vollmert1-1/+1
2017-07-06 Don’t hardlink disallowed paths in OS X.Matthew Bauer1-0/+14
Fixes #1443
2017-07-06 Remove unused variable from test scriptRobert Vollmert1-2/+0
2017-07-06 Fix nix-instantiate manpage indentationRobert Vollmert1-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 filterEelco Dolstra1-0/+4
Fixes #1432.
2017-07-04 Sort substituters by priorityEelco Dolstra3-0/+11
Fixes #1438.
2017-07-04 getDefaultSubstituters(): Simplify initialisationEelco Dolstra1-20/+14
As shlevy pointed out, static variables in C++11 have thread-safe initialisation.
2017-07-04 Add allow-new-privileges optionEelco Dolstra3-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 themEelco Dolstra1-4/+4
2017-07-04 Support base-64 hashesEelco Dolstra23-213/+205
Also simplify the Hash API. Fixes #1437.
2017-07-04 <nix/fetchurl.nix>: Support sha512 argumentEelco Dolstra1-3/+3
2017-07-03 nix-shell: Respect --dry-runEelco Dolstra1-0/+2
Fixes #824.
2017-07-03 Replace a few bool flags with enumsEelco Dolstra22-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 parallelEelco Dolstra1-28/+47