aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-20Add "nix search" commandEelco Dolstra
2017-07-19Merge pull request #1471 from veprbl/fdsetsizeEelco Dolstra
Do not try to fill fd_set with fd>=FD_SETSIZE
2017-07-18Do not try to fill fd_set with fd>=FD_SETSIZEDmitry Kalinkin
This is UB and causes buffer overflow and crash on linux.
2017-07-18Merge pull request #1470 from grahamc/patch-1Domen Kožar
Update mailing list.
2017-07-18Update mailing list.Graham Christensen
2017-07-18Update the mailing list.Graham Christensen
2017-07-17Always use base-16 for hashed mirror lookupsEelco Dolstra
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-17Make the hashes mirrors used by builtins.fetchurl configurableEelco Dolstra
In particular, this allows it to be disabled in our tests.
2017-07-17Fix accidental printErrorEelco Dolstra
2017-07-16Merge pull request #1467 from alicebob/nomd5Domen Kožar
use sha256 hashes in the examples
2017-07-15use sha256 hashes in the examplesHarmen
And fix a dead link.
2017-07-14nix path-info: Show download sizes for binary cache storesEelco Dolstra
E.g. $ nix path-info --json --store https://cache.nixos.org nixpkgs.thunderbird -S ... "downloadHash": "sha256:1jlixpzi225wwa0f4xdrwrqgi47ip1qpj9p06fyxxg07sfmyi4q0", "downloadSize": 43047620, "closureDownloadSize": 84745960 } ]
2017-07-14Avoid a call to derivationFromPath()Eelco Dolstra
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-14nix path-info: Don't barf on invalid pathsEelco Dolstra
Now you get [ { "path": "/nix/store/fzvliz4j5xzvnd0w5zgw2l0ksqh578yk-bla", "valid": false } ]
2017-07-14StorePathsCommand: Don't build installablesEelco Dolstra
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-14Merge pull request #1466 from grahamc/nix-master-darwin-installEelco Dolstra
Multi-user installer for Darwin (master edition)
2017-07-14Rename PINCH_ME_IM_SILLY to ALLOW_PREEXISTING_INSTALLATIONGraham Christensen
2017-07-14If there is no TTY, also skip verbose sudo messagesGraham Christensen
2017-07-14Ensure PINCH_ME_IM_SILLY allows a /nix/store to stick around between buildsGraham Christensen
Also output in the status report that the user is very silly
2017-07-14Assume yes if we have no TTYGraham Christensen
Starve the TTY of input to ensure this works, but provide yes to the current installer to handle the current broken case.
2017-07-14Cleanup and more specificity around set -eGraham Christensen
2017-07-14Only clean if the file existsGraham Christensen
2017-07-14Clean up nix hints from the old insstallerGraham Christensen
2017-07-14Run nix-build inside a fresh bash loginGraham Christensen
2017-07-14chmodGraham Christensen
2017-07-14Test the installerGraham Christensen
2017-07-14Address feedback around printf & execGraham Christensen
2017-07-14Don't install a second nix after the initial installation, and the rsync ↵Graham Christensen
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-14Clean up issues around uninstall directions, and only showGraham Christensen
relevant directions
2017-07-14Prompt for sudo before validating assumptions, and check ourselves for ↵Graham Christensen
root-owned files instead of making a scary warning.
2017-07-14multi-user install: move the profile in to the nix etc/profiles.d outputGraham Christensen
2017-07-14Switch to a fancy multi-user installer on DarwinGraham Christensen
2017-07-14Shellcheck the existing installerGraham Christensen
2017-07-14nix: Show help when no arguments are givenEelco Dolstra
Fixes #1464.
2017-07-14Tarball job: Include libseccomp on Linux onlyEelco Dolstra
2017-07-14Shut up a memory leak warningEelco Dolstra
2017-07-11replaceSymlink(): Handle the case where the temporary file already existsEelco Dolstra
Not really necessary anymore for #849, but still nice to have.
2017-07-11fetchTarball: Prevent concurrent downloads of the same fileEelco Dolstra
Fixes #849.
2017-07-10Merge pull request #1422 from nh2/fix-potential-hash-comparison-crashEelco Dolstra
Fix potential crash/wrong result two hashes of unequal length are compared
2017-07-10Merge branch 'man2' of git://github.com/robx/nixShea Levy
2017-07-10fix buggy nix-shell man pageRobert Vollmert
2017-07-10Merge pull request #1428 from rimmington/clearer-regex-space-errorEelco Dolstra
Clearer error message when regex exceeds space limit
2017-07-10Clearer error message when regex exceeds space limitRhys
2017-07-07man page (nix-shell): Fix grouping of -p optionRobert Vollmert
Not sure about the raw ellipsis.
2017-07-07man page (nix-prefetch-url): Add some missing optionsRobert Vollmert
2017-07-07man page (nix-instantiate): -E is optionalRobert Vollmert
2017-07-07man page (nix-instantiate): Add --json to synopsis, order variablesRobert Vollmert
2017-07-07man page (nix-instantiate): Remove non-existent nix-build argument -rRobert Vollmert
2017-07-07man pages: Consistently separate alternatives by /Robert Vollmert
2017-07-07man pages: Argument for --max-jobsRobert Vollmert