Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-25 | Intro: Mention binary caches | Eelco Dolstra | |
2014-11-25 | Rely on XML catalogs to find the DocBook schemas and stylesheets | Eelco Dolstra | |
2014-11-25 | Add a primop for regular expression pattern matching | Eelco Dolstra | |
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 | |
2014-11-24 | More build-cache-failures -> build-cache-failure | Eelco Dolstra | |
2014-11-24 | Build derivations in a more predictable order | Eelco Dolstra | |
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 | |
2014-11-24 | Update installation section | Eelco Dolstra | |
2014-11-24 | Update quick start section | Eelco Dolstra | |
2014-11-24 | Combine introduction / quick start parts | Eelco Dolstra | |
2014-11-24 | Manual: Bump date | Eelco Dolstra | |
2014-11-24 | Don't claim FreeBSD support | Eelco Dolstra | |
2014-11-24 | 'build-cache-failures' -> 'build-cache-failure' in nix.conf documentation. | Rob Vermaas | |
2014-11-20 | import derivation: cleanup | Shea Levy | |
Before this there was a bug where a `find` was being called on a not-yet-sorted set. The code was just a mess before anyway, so I cleaned it up while fixing it. | |||
2014-11-20 | Remove Hydra scheduling priorities | Eelco Dolstra | |
They're not so important anymore now that Hydra has jobset scheduling. | |||
2014-11-20 | Fix bad operator | Eelco Dolstra | |
Spotted by Perl 5.20: Possible precedence issue with control flow operator at /usr/lib/perl5/site_perl/5.20.1/x86_64-linux-gnu-thread-multi/Nix/Utils.pm line 46. | |||
2014-11-20 | Build Ubuntu 14.10 package | Eelco Dolstra | |
Fixes #397. | |||
2014-11-19 | Disable vacuuming the DB after garbage collection | Eelco Dolstra | |
Especially in WAL mode on a highly loaded machine, this is not a good idea because it results in a WAL file of approximately the same size ad the database, which apparently cannot be deleted while anybody is accessing it. | |||
2014-11-19 | nix-daemon: Call exit(), not _exit() | Eelco Dolstra | |
This was preventing destructors from running. In particular, it was preventing the deletion of the temproot file for each worker process. It may also have been responsible for the excessive WAL growth on Hydra (due to the SQLite database not being closed properly). Apparently broken by accident in 8e9140cfdef9dbd1eb61e4c75c91d452ab5e4a74. | |||
2014-11-19 | Clean up temp roots in a more C++ way | Eelco Dolstra | |
2014-11-18 | Remove Hydra build product | Eelco Dolstra | |
2014-11-18 | Add a test for the binary tarball installer | Eelco Dolstra | |
2014-11-17 | Fix message | Eelco Dolstra | |
2014-11-15 | realiseContext: Handle all context types | Shea Levy | |
Avoids an assertion | |||
2014-11-15 | Document functors | Shea Levy | |
2014-11-15 | Add functors (callable attribute sets). | Shea Levy | |
With this, attribute sets with a `__functor` attribute can be applied just like normal functions. This can be used to attach arbitrary metadata to a function without callers needing to treat it specially. | |||
2014-11-14 | Don't use ADDR_LIMIT_3GB | Eelco Dolstra | |
This gives 32-bit builds on x86_64-linux more memory. | |||
2014-11-12 | build-remote.pl.in: Add some more trace messages | Eelco Dolstra | |
This allows hydra-build to keep track of the actual build time (so excluding time required to copy closures around). | |||
2014-11-12 | Make ~DerivationGoal more reliable | Eelco Dolstra | |
2014-11-10 | SSH.pm: Print a friendlier message if connecting fails | Eelco Dolstra | |
"got EOF while expecting 8 bytes from remote side" is not very helpful. | |||
2014-11-05 | Doh | Eelco Dolstra | |
2014-11-04 | download-from-binary-cache.pl: Fix flushing of stderr | Eelco Dolstra | |
2014-11-04 | nix-store --gc: Don't warn about missing manifests directory | Eelco Dolstra | |
2014-11-04 | Typo | Eelco Dolstra | |
2014-11-04 | Add a launchd configuration file to run nix-daemon | Eelco Dolstra | |
2014-11-04 | Typo | Eelco Dolstra | |
2014-10-31 | nix-daemon: Get peer credentials on Mac OS X | Eelco Dolstra | |
This makes allowed-users and trusted-users work on Mac OS X. | |||
2014-10-31 | Improve error message if the daemon worker fails to start | Eelco Dolstra | |
2014-10-31 | Revert "Revert "Revert "Temporarily disable darwin builds while hydra's ↵ | Eelco Dolstra | |
darwin is borked""" This reverts commit a51f8d67473953307ef7fd0ea033a81fb022289f. | |||
2014-10-31 | Don't pull in git when doing a nix-shell | Eelco Dolstra | |
2014-10-31 | Fix more warnings | Eelco Dolstra | |
2014-10-31 | Shut up a clang warning | Eelco Dolstra | |
2014-10-30 | Revert "Revert "Temporarily disable darwin builds while hydra's darwin is ↵ | Eelco Dolstra | |
borked"" This reverts commit f72944b42f7504ed73129395a2636d3a4ecabf4e. | |||
2014-10-29 | Revert "Temporarily disable darwin builds while hydra's darwin is borked" | Eelco Dolstra | |
This reverts commit 29f7e142fc5d01fd2703c70442dc06fd98ce9595. | |||
2014-10-29 | Update release notes | Eelco Dolstra | |
2014-10-29 | Document some primops | Eelco Dolstra | |
2014-10-29 | Remove comments claiming we use a private PID namespace | Eelco Dolstra | |
This is no longer the case since 524f89f1399724e596f61faba2c6861b1bb7b9c5. | |||
2014-10-27 | doc: fixed nix-instantiate --find-file | bobvanderlinden | |
The manual said --file-file, which should be --find-file. | |||
2014-10-23 | Merge pull request #380 from shlevy/temp-disable-darwin | Eelco Dolstra | |
Temporarily disable darwin builds while hydra's darwin is borked | |||
2014-10-23 | Temporarily disable darwin builds while hydra's darwin is borked | Shea Levy | |