Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-17 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-15 | Get rid of explicit ErrorInfo constructors | Eelco Dolstra | |
2020-05-13 | formatting and a few minor changes | Ben Burdette | |
2020-05-13 | consistent capitalization | Ben Burdette | |
2020-05-01 | convert some errors | Ben Burdette | |
2020-04-28 | Error classname as name | Ben Burdette | |
2020-04-21 | remove 'format' from Error constructor calls | Ben Burdette | |
2020-04-17 | Use a more space/time-efficient representation for the eval cache | Eelco Dolstra | |
2020-04-17 | SQLiteStmt: Use std::string_view | Eelco Dolstra | |
2020-03-24 | Misc changes from the flakes branch | Eelco Dolstra | |
2019-06-07 | Add flake evaluation cache | Eelco Dolstra | |
This exploits the hermetic nature of flake evaluation to speed up repeated evaluations of a flake output attribute. For example (doing 'nix build' on an already present package): $ time nix build nixpkgs:firefox real 0m1.497s user 0m1.160s sys 0m0.139s $ time nix build nixpkgs:firefox real 0m0.052s user 0m0.038s sys 0m0.007s The cache is ~/.cache/nix/eval-cache-v1.sqlite, which has entries like INSERT INTO Attributes VALUES( X'92a907d4efe933af2a46959b082cdff176aa5bfeb47a98fabd234809a67ab195', 'packages.firefox', 1, '/nix/store/pbalzf8x19hckr8cwdv62rd6g0lqgc38-firefox-67.0.drv /nix/store/g6q0gx0v6xvdnizp8lrcw7c4gdkzana0-firefox-67.0 out'); where the hash 92a9... is a fingerprint over the flake store path and the contents of the lockfile. Because flakes are evaluated in pure mode, this uniquely identifies the evaluation result. | |||
2018-05-30 | Use extended SQLite error codes | Eelco Dolstra | |
2018-03-14 | Use boost::format from the boost package | Eelco Dolstra | |
Note that this only requires headers from boost so it doesn't add a runtime dependency. Also, use Nixpkgs 18.03. | |||
2017-07-30 | Replace Unicode quotes in user-facing strings by ASCII | Jörg Thalheim | |
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g" | |||
2017-02-28 | Improve SQLite busy handling | Eelco Dolstra | |
2017-02-28 | In SQLite errors, include the database path | Eelco Dolstra | |
This is necessary because we have multiple SQLite databases (e.g. the binary cache cache). | |||
2016-11-26 | Revert "Get rid of unicode quotes (#1140)" | Eelco Dolstra | |
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There really is no need for such a massive change... | |||
2016-11-25 | Get rid of unicode quotes (#1140) | Guillaume Maudoux | |
2016-09-21 | printMsg(lvlError, ...) -> printError(...) etc. | Eelco Dolstra | |
2016-08-10 | SQLite:: Add some convenience | Eelco Dolstra | |
2016-04-20 | Cache path info lookups in SQLite | Eelco Dolstra | |
This re-implements the binary cache database in C++, allowing it to be used by other Store backends, in particular the S3 backend. | |||
2016-04-05 | Probably fix SQLITE_BUSY errors | Eelco Dolstra | |
2016-04-04 | throwSQLiteError(): Check for SIGINT so we don't loop forever | Eelco Dolstra | |
2016-03-30 | Improve the SQLite wrapper API | Eelco Dolstra | |
In particular, this eliminates a bunch of boilerplate code. | |||
2016-03-30 | Factour out SQLite handling | Eelco Dolstra | |