Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-23 | Add missing Nix::Store import to fix nix-serve StoreDir. | Ben Radford | |
2021-07-30 | Expose a perl method to query a derivation | regnat | |
Just doing a very stupid thing taking as argument a serialised drv output and returning a serialised realisation. This is needed for `nix-serve` to handle ca derivations | |||
2021-01-06 | Make sodium a required dependency | Eelco Dolstra | |
2020-11-21 | Return signatures in Perl path info | Kai Wohlfahrt | |
2020-09-17 | Remove corepkgs/config.nix | Eelco Dolstra | |
This isn't used anywhere except in the configure script of the Perl bindings. I've changed the latter to use the C++ API's Settings object at runtime. | |||
2020-08-14 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-14 | Merge pull request #3875 from obsidiansystems/new-interface-for-path-pathOpt | Eelco Dolstra | |
Offer a safer interface for path and pathOpt | |||
2020-08-08 | Fix perl FFI for floating ca derivations | John Ericson | |
Path is null when not known statically. | |||
2020-08-05 | Fix perl integration | Carlo Nucera | |
2020-08-05 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
new-interface-for-path-pathOpt | |||
2020-07-28 | Merge branch 'misc-ca' of github.com:obsidiansystems/nix into ↵ | Carlo Nucera | |
new-interface-for-path-pathOpt | |||
2020-07-28 | Use the new interface | Carlo Nucera | |
2020-07-27 | Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into ↵ | John Ericson | |
better-ca-parse-errors | |||
2020-07-27 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-07-16 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
optional-derivation-output-storepath | |||
2020-07-16 | Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into ↵ | John Ericson | |
better-ca-parse-errors | |||
2020-07-15 | Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type | Carlo Nucera | |
2020-07-13 | Remove 'accessor' from addToStore() | Eelco Dolstra | |
This is only used by hydra-queue-runner and it's better to implement it there. | |||
2020-07-12 | Try to fix perl bindings | John Ericson | |
2020-07-08 | Only store hash of fixed derivation output | Matthew Bauer | |
we don’t need a full storepath for a fixedoutput derivation. So just putting the ingestion method + the hash is sufficient. | |||
2020-07-03 | Fix Perl, again... | John Ericson | |
2020-07-03 | Fix Perl | John Ericson | |
2020-06-19 | WIP: Make Hash always store a valid hash type | John Ericson | |
2020-06-03 | libutils/hash: remove default encoding | zimbatm | |
This will make it easier to reason about the hash encoding and switch to SRI everywhere where possible. | |||
2020-03-30 | Get rid of FileIngestionMethod casts in perl bindings, too | John Ericson | |
2020-03-29 | Replace some `bool recursive` with a new `FileIngestionMethod` enum | John Ericson | |
2020-03-10 | nix-perl: Fix segfault in queryPathInfo) | Eelco Dolstra | |
2019-12-10 | Make the Store API more type-safe | Eelco Dolstra | |
Most functions now take a StorePath argument rather than a Path (which is just an alias for std::string). The StorePath constructor ensures that the path is syntactically correct (i.e. it looks like <store-dir>/<base32-hash>-<name>). Similarly, functions like buildPaths() now take a StorePathWithOutputs, rather than abusing Path by adding a '!<outputs>' suffix. Note that the StorePath type is implemented in Rust. This involves some hackery to allow Rust values to be used directly in C++, via a helper type whose destructor calls the Rust type's drop() function. The main issue is the dynamic nature of C++ move semantics: after we have moved a Rust value, we should not call the drop function on the original value. So when we move a value, we set the original value to bitwise zero, and the destructor only calls drop() if the value is not bitwise zero. This should be sufficient for most types. Also lots of minor cleanups to the C++ API to make it more modern (e.g. using std::optional and std::string_view in some places). | |||
2019-11-26 | Clean up the configure script | Eelco Dolstra | |
2018-05-30 | Modularize config settings | Eelco Dolstra | |
Allow global config settings to be defined in multiple Config classes. For example, this means that libutil can have settings and evaluator settings can be moved out of libstore. The Config classes are registered in a new GlobalConfig class to which config files etc. are applied. Relevant to https://github.com/NixOS/nix/issues/2009 in that it removes the need for ad hoc handling of useCaseHack, which was the underlying cause of that issue. | |||
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-07-04 | Support base-64 hashes | Eelco Dolstra | |
Also simplify the Hash API. Fixes #1437. | |||
2017-04-26 | Simplify building nix-perl in nix-shell | Eelco Dolstra | |
2017-04-14 | Fix Perl bindings | Eelco Dolstra | |
2017-04-13 | Convert Settings to the new config system | Eelco Dolstra | |
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning. | |||
2017-04-13 | Initialise logger | Eelco Dolstra | |
2017-03-31 | Merge branch 'remove-perl' of https://github.com/shlevy/nix | Eelco Dolstra | |
2017-03-21 | Restore cache.nixos.org as the default substituter | Eelco Dolstra | |
Fixes #1283. | |||
2017-02-16 | Move netrcFile to Settings | Eelco Dolstra | |
Also get rid of Settings::processEnvironment(), it appears to be useless. | |||
2017-02-07 | Add nix-perl package for the perl bindings | Shea Levy | |
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-07-26 | makeFixedOutputPath(): Drop superfluous HashType argument | Eelco Dolstra | |
2016-06-01 | Make the store directory a member variable of Store | Eelco Dolstra | |
2016-05-31 | nix-copy-closure / build-remote.pl: Disable signature checking | Eelco Dolstra | |
This restores the Nix 1.11 behaviour. | |||
2016-05-31 | nix-copy-closure: Drop Nix <= 1.7 compat | Eelco Dolstra | |
2016-05-04 | Fix segfault in nix-copy-closure | Eelco Dolstra | |
2016-05-04 | Remove OpenSSL-based signing | Eelco Dolstra | |
2016-04-19 | Move path info caching from BinaryCacheStore to Store | Eelco Dolstra | |
Caching path info is generally useful. For instance, it speeds up "nix path-info -rS /run/current-system" (i.e. showing the closure sizes of all paths in the closure of the current system) from 5.6s to 0.15s. This also eliminates some APIs like Store::queryDeriver() and Store::queryReferences(). | |||
2016-04-11 | Remove manifest support | Eelco Dolstra | |
Manifests have been superseded by binary caches for years. This also gets rid of nix-pull, nix-generate-patches and bsdiff/bspatch. |