Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-12-13 | Style | Eelco Dolstra | 1 | -1/+6 | |
2014-12-13 | Better error message | Eelco Dolstra | 1 | -1/+1 | |
2014-12-13 | Install cacert before running nix-channel | Eelco Dolstra | 1 | -5/+6 | |
Also, make it more robust against incorrent SSL_CERT_FILE values. | |||||
2014-12-12 | Silence some warnings on GCC 4.9 | Eelco Dolstra | 4 | -7/+12 | |
2014-12-12 | Shut up a Valgrind warning | Eelco Dolstra | 1 | -1/+1 | |
2014-12-12 | Fix some memory leaks | Eelco Dolstra | 3 | -35/+27 | |
2014-12-12 | Ensure we're writing to stderr in the builder | Eelco Dolstra | 6 | -19/+21 | |
http://hydra.nixos.org/build/17862041 | |||||
2014-12-12 | Don't abort if we get a signal while waiting for the pager | Eelco Dolstra | 1 | -4/+8 | |
2014-12-12 | Get rid of unnecessary "interrupted by the user" message with -vvv | Eelco Dolstra | 1 | -0/+2 | |
2014-12-12 | Remove chatty message | Eelco Dolstra | 1 | -2/+0 | |
This broke building with "-vv", because the builder is not allowed to write to stderr at this point. | |||||
2014-12-12 | Doh | Eelco Dolstra | 2 | -3/+3 | |
2014-12-12 | Remove tabs | Eelco Dolstra | 1 | -5/+5 | |
2014-12-12 | Remove dead code | Eelco Dolstra | 1 | -9/+0 | |
2014-12-12 | Remove canary stuff | Eelco Dolstra | 4 | -58/+0 | |
2014-12-11 | Don't use ?= | Eelco Dolstra | 1 | -2/+2 | |
2014-12-11 | allow custom docbook paths/URLs, use a working URL for docbook.rng | darealshinji | 1 | -2/+3 | |
2014-12-11 | Urgh | Eelco Dolstra | 1 | -1/+1 | |
2014-12-10 | Provide default pagers | Eelco Dolstra | 1 | -3/+8 | |
Borrowed from systemd. | |||||
2014-12-10 | Don't do vfork in conjunction with setuid | Eelco Dolstra | 2 | -0/+5 | |
2014-12-10 | Use vfork | Eelco Dolstra | 3 | -11/+39 | |
2014-12-10 | Rename function | Eelco Dolstra | 1 | -4/+4 | |
2014-12-10 | Include cacert in the binary tarball | Eelco Dolstra | 2 | -6/+10 | |
This prevents having to fetch Nixpkgs or cacert over http. | |||||
2014-12-10 | Don't wait for PID -1 | Eelco Dolstra | 1 | -1/+2 | |
The pid field can be -1 if forking the substituter process failed. | |||||
2014-12-10 | Revert "Use posix_spawn to run the pager" | Eelco Dolstra | 3 | -39/+10 | |
This reverts commit d34d2b2bbf784c0bb420a50905af25e02c6e4989. | |||||
2014-12-10 | Update signing.txt | roconnor | 1 | -2/+2 | |
2014-12-10 | builtins.readFile: realise context associated with the path | Shea Levy | 1 | -2/+6 | |
2014-12-10 | Always use https to fetch the Nixpkgs channel | Eelco Dolstra | 2 | -6/+2 | |
2014-12-10 | Fix bad comment | Eelco Dolstra | 1 | -1/+1 | |
2014-12-09 | Doh | Eelco Dolstra | 1 | -1/+1 | |
2014-12-09 | Add option to disable binary cache certificate checking | Eelco Dolstra | 2 | -1/+16 | |
2014-12-09 | Provide some fallback defaults for the CA bundle | Eelco Dolstra | 1 | -0/+2 | |
2014-12-09 | Use https://cache.nixos.org instead of http://cache.nixos.org | Eelco Dolstra | 5 | -10/+14 | |
2014-12-08 | Remove Fedora 18, 19 builds | Eelco Dolstra | 1 | -4/+0 | |
http://hydra.nixos.org/build/17703462 | |||||
2014-12-05 | Remove some platforms with too-old compilers | Eelco Dolstra | 1 | -4/+0 | |
2014-12-05 | Define ‘environ’ | Eelco Dolstra | 1 | -0/+2 | |
http://hydra.nixos.org/build/17690555 | |||||
2014-12-05 | Use posix_spawn to run the pager | Eelco Dolstra | 3 | -10/+39 | |
In low memory environments, "nix-env -qa" failed because the fork to run the pager hit the kernel's overcommit limits. Using posix_spawn gets around this. (Actually, you have to use posix_spawn with the undocumented POSIX_SPAWN_USEVFORK flag, otherwise it just uses fork/exec...) | |||||
2014-12-05 | Shut up a warning | Eelco Dolstra | 1 | -1/+1 | |
2014-12-05 | Fix another operator precedence issue found by Perl 5.20 | Eelco Dolstra | 1 | -1/+1 | |
2014-12-02 | Merge pull request #401 from shlevy/external-value | Eelco Dolstra | 5 | -0/+108 | |
Allow external code using libnixexpr to add types | |||||
2014-12-02 | Make all ExternalValueBase functions const | Shea Levy | 4 | -15/+15 | |
2014-12-02 | Allow external code using libnixexpr to add types | Shea Levy | 5 | -0/+108 | |
Code that links to libnixexpr (e.g. plugins loaded with importNative, or nix-exec) may want to provide custom value types and operations on values of those types. For example, nix-exec is currently using sets where a custom IO value type would be more appropriate. This commit provides a generic hook for such types in the form of tExternal and the ExternalBase virtual class, which contains all functions necessary for libnixexpr's type-polymorphic functions (e.g. `showType`) to be implemented. | |||||
2014-11-25 | Intro: Mention binary caches | Eelco Dolstra | 1 | -3/+10 | |
2014-11-25 | Rely on XML catalogs to find the DocBook schemas and stylesheets | Eelco Dolstra | 5 | -25/+5 | |
2014-11-25 | Add a primop for regular expression pattern matching | Eelco Dolstra | 5 | -5/+84 | |
The function ‘builtins.match’ takes a POSIX extended regular expression and an arbitrary string. It returns ‘null’ if the string does not match the regular expression. Otherwise, it returns a list containing substring matches corresponding to parenthesis groups in the regex. The regex must match the entire string (i.e. there is an implied "^<pat>$" around the regex). For example: match "foo" "foobar" => null match "foo" "foo" => [] match "f(o+)(.*)" "foooobar" => ["oooo" "bar"] match "(.*/)?([^/]*)" "/dir/file.nix" => ["/dir/" "file.nix"] match "(.*/)?([^/]*)" "file.nix" => [null "file.nix"] The following example finds all regular files with extension .nix or .patch underneath the current directory: let findFiles = pat: dir: concatLists (mapAttrsToList (name: type: if type == "directory" then findFiles pat (dir + "/" + name) else if type == "regular" && match pat name != null then [(dir + "/" + name)] else []) (readDir dir)); in findFiles ".*\\.(nix|patch)" (toString ./.) | |||||
2014-11-25 | forceString(): Accept pos argument | Eelco Dolstra | 3 | -5/+5 | |
2014-11-24 | More build-cache-failures -> build-cache-failure | Eelco Dolstra | 1 | -2/+2 | |
2014-11-24 | Build derivations in a more predictable order | Eelco Dolstra | 1 | -7/+41 | |
Derivations are now built in order of derivation name, so a package named "aardvark" is built before "baboon". Fixes #399. | |||||
2014-11-24 | Don't create unnecessary substitution goals for derivations | Eelco Dolstra | 1 | -0/+5 | |
2014-11-24 | Update installation section | Eelco Dolstra | 3 | -17/+18 | |
2014-11-24 | Update quick start section | Eelco Dolstra | 2 | -22/+81 | |