about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-16 Improve substitution progress indicatorEelco Dolstra5-86/+93
E.g. $ nix build --store local?root=/tmp/nix nixpkgs.firefox-unwrapped [0/1 built, 1/97/98 fetched, 65.8/92.8 MiB DL, 203.2/309.2 MiB copied] downloading 'https://cache.nixos.org/nar/1czm9fk0svacy4h6a3fzkpafi4f7a9gml36kk8cq1igaghbspg3k.nar.xz'
2017-08-16 nix copy: Improve progress indicatorEelco Dolstra4-38/+111
It now shows the amount of data copied: [8/1038 copied, 160.4/1590.9 MiB copied] copying path '...'
2017-08-16 nix copy: Revive progress barEelco Dolstra6-2/+99
2017-08-16 nix copy: Add --no-check-sigs flagEelco Dolstra1-1/+9
2017-08-16 Disallow SSH host names starting with a dashEelco Dolstra2-8/+12
2017-08-15 Merge pull request #1517 from nbp/move-match-docEelco Dolstra1-36/+36
Move builtins.match documentation between map and mul.
2017-08-15 Move builtins.match documentation between map and mul.Nicolas B. Pierron1-36/+36
2017-08-10 Start of 1.12 release notesEelco Dolstra1-2/+360
2017-08-10 Style fixEelco Dolstra1-1/+2
2017-08-09 Use /proc/self/fd to efficiently close all FDs on LinuxEelco Dolstra3-5/+19
Issue #1506.
2017-08-09 nix repl: Support printing floating-point numbersEelco Dolstra1-0/+4
2017-08-09 Merge pull request #1499 from puffnfresh/bug/arm-fixesEelco Dolstra1-0/+1
Include missing <cstdlib> for abort()
2017-08-03 Include missing <cstdlib> for abort()Brian McKenna1-0/+1
This is needed to get Nix compiled using Android NDK.
2017-07-31 Merge branch 'macOS' of https://github.com/davidak/nixEelco Dolstra8-10/+10
2017-07-31 Merge branch 'quotes' of https://github.com/Mic92/nix-1Eelco Dolstra86-662/+662
2017-07-30 Replace Unicode quotes in user-facing strings by ASCIIJörg Thalheim86-662/+662
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
2017-07-30 replace "OS X" with "macOS"davidak2-3/+3
2017-07-30 replace "Mac OS X" with "macOS"davidak6-7/+7
except in older release notes where the name was actually Mac OS X.
2017-07-28 nix-build: Fix regression causing all outputs to be builtEelco Dolstra1-4/+4
2017-07-28 nix-prefetch-url: Fix regression in hash printingEelco Dolstra1-1/+1
2017-07-27 builtins.fetchgit: Support specifying commit hashesEelco Dolstra2-9/+29
This adds an argument "rev" specififying the Git commit hash. The existing argument "rev" is renamed to "ref". The default value for "ref" is "master". When specifying a hash, it's necessary to specify a ref since we're not cloning the entire repository but only fetching a specific ref. Example usage: builtins.fetchgit { url = https://github.com/NixOS/nixpkgs.git; ref = "release-16.03"; rev = "c1c0484041ab6f9c6858c8ade80a8477c9ae4442"; };
2017-07-27 builtins.fetchgit: Respect tarball-ttlEelco Dolstra1-1/+19
I.e. if the local ref is more recent than tarball-ttl seconds, then don't check the remote.
2017-07-27 builtins.fetchgit: Use proper refs locallyEelco Dolstra1-4/+3
2017-07-27 builtins.fetchgit: Cache hash -> store path mappingsEelco Dolstra1-2/+18
This prevents an expensive call to addToStore() in the cached case.
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.