Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-17 | Merge pull request #3746 from obsidiansystems/path-info | Robert Hensing | |
Introduce `StoreReferences` and `ContentAddressWithReferences` | |||
2023-04-07 | libstore: Remove lockCPU dead code | Robert Hensing | |
Left over from 9747ea84b, https://github.com/NixOS/nix/pull/5821 | |||
2023-04-07 | Move loadConfFile() to initLibStore | Robert Hensing | |
Part of an effort to make it easier to initialize the right things, by moving code into the appropriate libraries. Using libstore without loading the config file is risky, as sqlite may then be misconfigured. See https://github.com/cachix/cachix/issues/475 | |||
2023-02-28 | No inheritance for `TextInfo` and `FixedOutputInfo` | John Ericson | |
2023-02-28 | Revert "Remove some designated initializers" | John Ericson | |
This reverts commit ee9eb83a842eb97d0180fd9d349d30ff27fdb485. | |||
2023-02-28 | Merge remote-tracking branch 'upstream/master' into path-info | John Ericson | |
2023-02-10 | Fix building with GCC 9 | Eelco Dolstra | |
Nixpkgs on aarch64-linux is currently stuck on GCC 9 (https://github.com/NixOS/nixpkgs/issues/208412) and using gcc11Stdenv doesn't work either. So use c++2a instead of c++20 for now. Unfortunately this means we can't use some C++20 features for now (like std::span). | |||
2023-02-03 | Merge pull request #7705 from Ma27/fix-initNix-in-perl-bindings | Robert Hensing | |
perl: run `initLibStore()` on `openStore()` | |||
2023-02-02 | perl: run `initLibStore()` on `openStore()` | Maximilian Bosch | |
Since #7478 it's mandatory that `initLibStore()` is called for store operations. However that's not the case when running `openStore()` in Perl using the perl-bindings. That breaks e.g. `hydra-eval-jobset` when built against Nix 2.13 which uses small portions of the store API. | |||
2023-02-01 | Remove some designated initializers | John Ericson | |
With the switch to C++20, the rules became more strict, and we can no longer initialize base classes. Make them comments instead. (BTW https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2287r1.html this offers some new syntax for this use-case. Hopefully this will be adopted and we can eventually use it.) | |||
2023-02-01 | Merge remote-tracking branch 'upstream/master' into path-info | John Ericson | |
2023-01-14 | Make `ValidPathInfo` have plain `StorePathSet` references like before | John Ericson | |
This change can wait for another PR. | |||
2023-01-06 | Fix perl bindings | John Ericson | |
2023-01-06 | Use named field initialization for references | John Ericson | |
2022-10-22 | Build with C++20 | Graham Bennett | |
2022-03-10 | Merge remote-tracking branch 'upstream/master' into path-info | John Ericson | |
2022-02-25 | Remove std::string alias (for real this time) | Eelco Dolstra | |
Also use std::string_view in a few more places. | |||
2021-11-27 | Document libsodium, which is now mandatory, as a dependency | Alexander Sosedkin | |
2021-11-23 | Add missing Nix::Store import to fix nix-serve StoreDir. | Ben Radford | |
2021-09-30 | Merge remote-tracking branch 'upstream/master' into path-info | John Ericson | |
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-07-15 | Fix perl bindings build | Eelco Dolstra | |
2021-06-23 | Apply OS checks to host platform, not build | Alyssa Ross | |
Previously, the build system used uname(1) output when it wanted to check the operating system it was being built for, which meant that it didn't take into-account cross-compilation when the build and host operating systems were different. To fix this, instead of consulting uname output, we consult the host triple, specifically the third "kernel" part. For "kernel"s with stable ABIs, like Linux or Cygwin, we can use a simple ifeq to test whether we're compiling for that system, but for other platforms, like Darwin, FreeBSD, or Solaris, we have to use a more complicated check to take into account the version numbers at the end of the "kernel"s. I couldn't find a way to just strip these version numbers in GNU Make without shelling out, which would be even more ugly IMO. Because these checks differ between kernels, and the patsubst ones are quite fiddly, I've added variables for each host OS we might want to check to make them easier to reuse. | |||
2021-02-25 | Merge remote-tracking branch 'upstream/master' into path-info | John Ericson | |
2021-01-06 | Make sodium a required dependency | Eelco Dolstra | |
2020-11-21 | Return signatures in Perl path info | Kai Wohlfahrt | |
2020-10-07 | Use PathReferences more widely | John Ericson | |
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-28 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-18 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
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-08-01 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
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 ↵ | Carlo Nucera | |
derivation-header-include-order | |||
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-05 | See if setting -std=c++17 for perl bindings helps | John Ericson | |
2020-07-03 | Fix Perl, again... | John Ericson | |
2020-07-03 | Fix Perl | John Ericson | |