about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2017-07-26 nix search: Add a cacheEelco Dolstra3-20/+92
The package list is now cached in ~/.cache/nix/package-search.json. This gives a substantial speedup to "nix search" queries. For example (on an SSD): First run: (no package search cache, cold page cache) $ time nix search blender Attribute name: nixpkgs.blender Package name: blender Version: 2.78c Description: 3D Creation/Animation/Publishing System real 0m6.516s Second run: (package search cache populated) $ time nix search blender Attribute name: nixpkgs.blender Package name: blender Version: 2.78c Description: 3D Creation/Animation/Publishing System real 0m0.143s
2017-07-26 nix-build/nix-shell: Eliminate call to nix-instantiate / nix-storeEelco Dolstra6-462/+400
Note that this removes the need for a derivation symlink, so the --drv-path and --add-drv-link flags now do nothing.
2017-07-20 nix-shell: Use bashInteractive from <nixpkgs>Eelco Dolstra5-13/+54
This adds about 0.1s to nix-shell runtime in the case where bashInteractive already exists. See discussion at https://github.com/NixOS/nixpkgs/issues/27493.
2017-07-20 nix search: Ignore top-level eval errorsEelco Dolstra2-2/+13
$NIX_PATH may contain elements that don't evaluate to an attrset (like "nixos-config"), so ignore those.
2017-07-20 FD_SETSIZE check: BuildError -> ErrorEelco Dolstra1-3/+2
BuildError denotes a permanent build failure, which is not the case here.
2017-07-20 nix search: Add --json flagEelco Dolstra1-13/+27
2017-07-20 Add "nix search" commandEelco Dolstra9-102/+263
2017-07-19 Merge pull request #1471 from veprbl/fdsetsizeEelco Dolstra1-0/+3
Do not try to fill fd_set with fd>=FD_SETSIZE
2017-07-18 Do not try to fill fd_set with fd>=FD_SETSIZEDmitry Kalinkin1-0/+3
This is UB and causes buffer overflow and crash on linux.
2017-07-18 Merge pull request #1470 from grahamc/patch-1Domen Kožar2-2/+2
Update mailing list.
2017-07-18 Update mailing list.Graham Christensen1-1/+1
2017-07-18 Update the mailing list.Graham Christensen1-1/+1
2017-07-17 Always use base-16 for hashed mirror lookupsEelco Dolstra2-1/+15
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 configurableEelco Dolstra4-8/+42
In particular, this allows it to be disabled in our tests.
2017-07-17 Fix accidental printErrorEelco Dolstra1-1/+1
2017-07-16 Merge pull request #1467 from alicebob/nomd5Domen Kožar3-5/+5
use sha256 hashes in the examples
2017-07-15 use sha256 hashes in the examplesHarmen3-5/+5
And fix a dead link.
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 Merge pull request #1466 from grahamc/nix-master-darwin-installEelco Dolstra5-9/+938
Multi-user installer for Darwin (master edition)
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 Merge pull request #1422 from nh2/fix-potential-hash-comparison-crashEelco Dolstra1-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/nixShea Levy9-50/+65
2017-07-10 fix buggy nix-shell man pageRobert Vollmert1-1/+1
2017-07-10 Merge pull request #1428 from rimmington/clearer-regex-space-errorEelco Dolstra1-2/+7
Clearer error message when regex exceeds space limit
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.