- Aug 20, 2017
-
-
Matthew Bauer authored
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.
-
- Aug 19, 2017
-
-
Domen Kožar authored
update MD5 to SHA-256 in expression-syntax
-
- Aug 18, 2017
-
-
Chase Adams authored
-
Eelco Dolstra authored
Remove unused decodeOctalEscaped
-
Andy Wingo authored
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".
-
- Aug 16, 2017
-
-
Eelco Dolstra authored
-
https://github.com/nbp/nixEelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This replaces "nix-store --optimise". Main difference is that it has a progress indicator.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
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'
-
Eelco Dolstra authored
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'
-
Eelco Dolstra authored
It now shows the amount of data copied: [8/1038 copied, 160.4/1590.9 MiB copied] copying path '...'
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Aug 15, 2017
-
-
Nicolas B. Pierron authored
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" ] " " ]; ```
-
Eelco Dolstra authored
Move builtins.match documentation between map and mul.
-
Nicolas B. Pierron authored
-
- Aug 10, 2017
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Aug 09, 2017
-
-
Eelco Dolstra authored
Issue #1506.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Include missing <cstdlib> for abort()
-
- Aug 02, 2017
-
-
Brian McKenna authored
This is needed to get Nix compiled using Android NDK.
-
- Jul 31, 2017
-
- Jul 30, 2017
-
-
Jörg Thalheim authored
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
-
davidak authored
-
davidak authored
except in older release notes where the name was actually Mac OS X.
-
- Jul 28, 2017
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Jul 27, 2017
-
-
Eelco Dolstra authored
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"; };
-
Eelco Dolstra authored
I.e. if the local ref is more recent than tarball-ttl seconds, then don't check the remote.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This prevents an expensive call to addToStore() in the cached case.
-
- Jul 26, 2017
-
-
Eelco Dolstra authored
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
-