about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-25 Handle SIGWINCHEelco Dolstra3-8/+39
2017-08-25 When truncating the progress bar, take ANSI escape sequences into accountEelco Dolstra1-4/+41
2017-08-25 TypoEelco Dolstra1-1/+1
2017-08-25 Restore activity metadataEelco Dolstra4-20/+36
This allows the progress bar to display "building perl-5.22.3" instead of "building /nix/store/<hash>-perl-5.22.3.drv".
2017-08-21 Clean up JSON constructionEelco Dolstra1-3/+18
2017-08-21 Allow builders to create activitiesEelco Dolstra4-7/+76
Actually, currently they can only create download activities. Thus, downloads by builtins.fetchurl show up in the progress bar.
2017-08-21 Remove debug lineEelco Dolstra1-2/+0
2017-08-21 Disallow accidental copy constructionEelco Dolstra1-0/+2
2017-08-21 Merge pull request #1529 from matthewbauer/remove-nix-modeEelco Dolstra7-229/+7
Remove nix-mode.el from Nix.
2017-08-19 Remove nix-mode.el from Nix.Matthew Bauer7-229/+7
This removes the file nix-mode.el from Nix. The file is now available within the repository https://github.com/NixOS/nix-mode. Fixes #662 Fixes #1040 Fixes #1054 Fixes #1055 Closes #1119 Fixes #1419 NOTE: all of the above should be fixed within NixOS/nix-mode. If one of those hasn’t please reopen within NixOS/nix-mode and not within NixOS/nix.
2017-08-19 Merge pull request #1527 from chaseadamsio/masterDomen Kožar1-2/+2
update MD5 to SHA-256 in expression-syntax
2017-08-18 update MD5 to SHA-256 in expression-syntaxChase Adams1-2/+2
2017-08-18 Merge pull request #1525 from wingo/remove-buggy-octal-decoderEelco Dolstra2-21/+0
Remove unused decodeOctalEscaped
2017-08-18 Remove unused decodeOctalEscapedAndy Wingo2-21/+0
Besides being unused, this function has a bug that it will incorrectly decode the path component Ubuntu\04016.04.2\040LTS\040amd64 as "Ubuntu.04.2 LTS amd64" instead of "Ubuntu 16.04.2 LTS amd64".
2017-08-16 Update release notesEelco Dolstra1-0/+5
2017-08-16 Merge branch 'tokenize' of https://github.com/nbp/nixEelco Dolstra3-0/+153
2017-08-16 nix verify: Restore the progress indicatorEelco Dolstra3-14/+43
2017-08-16 nix optimise-store: Show how much space has been freedEelco Dolstra5-55/+101
2017-08-16 nix optimise-store: AddEelco Dolstra4-6/+60
This replaces "nix-store --optimise". Main difference is that it has a progress indicator.
2017-08-16 Progress indicator: CleanupEelco Dolstra7-151/+105
2017-08-16 Progress indicator: More improvementsEelco Dolstra3-70/+100
2017-08-16 Progress indicator: Show number of active itemsEelco Dolstra7-28/+39
2017-08-16 Progress indicator: Unify "copying" and "substituting"Eelco Dolstra4-87/+24
They're the same thing after all. Example: $ nix build --store local?root=/tmp/nix nixpkgs.firefox-unwrapped [0/1 built, 49/98 copied, 16.3/92.8 MiB DL, 55.8/309.2 MiB copied] downloading 'https://cache.nixos.org/nar/0pl9li1jigcj2dany47hpmn0r3r48wc4nz48v5mqhh426lgz3bz6.nar.xz'
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 Add builtins.string function.Nicolas B. Pierron3-0/+153
The function 'builtins.split' takes a POSIX extended regular expression and an arbitrary string. It returns a list of non-matching substring interleaved by lists of matched groups of the regular expression. ```nix with builtins; assert split "(a)b" "abc" == [ "" [ "a" ] "c" ]; assert split "([ac])" "abc" == [ "" [ "a" ] "b" [ "c" ] "" ]; assert split "(a)|(c)" "abc" == [ "" [ "a" null ] "b" [ null "c" ] "" ]; assert split "([[:upper:]]+)" " FOO " == [ " " [ "FOO" ] " " ]; ```
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.