A fork of attic a self-hostable Nix Binary Cache server
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

attic/nix_store: Update bindings for Nix 2.28

Zhaofeng Li ef8e754d 496826a6

+26 -13
+1
.github/workflows/build.yml
··· 75 75 nix: 76 76 - "2.24" 77 77 - "2.26" 78 + - "2.28" 78 79 - "default" 79 80 runs-on: ${{ matrix.os }} 80 81 steps:
+24 -13
attic/src/nix_store/bindings/nix-includes.hpp
··· 1 1 #if defined(ATTIC_VARIANT_NIX) 2 - #if NIX_VERSION >= 226 3 - #include <nix/config-main.hh> 4 - #include <nix/config-store.hh> 2 + #if NIX_VERSION >= 228 3 + #include <nix/store/store-api.hh> 4 + #include <nix/store/local-store.hh> 5 + #include <nix/store/remote-store.hh> 6 + #include <nix/store/uds-remote-store.hh> 7 + #include <nix/store/path.hh> 8 + #include <nix/util/hash.hh> 9 + #include <nix/util/serialise.hh> 10 + #include <nix/main/shared.hh> 5 11 #else 6 - #include <nix/config.h> 12 + #if NIX_VERSION >= 226 13 + #include <nix/config-main.hh> 14 + #include <nix/config-store.hh> 15 + #else 16 + #include <nix/config.h> 17 + #endif 18 + 19 + #include <nix/store-api.hh> 20 + #include <nix/local-store.hh> 21 + #include <nix/remote-store.hh> 22 + #include <nix/uds-remote-store.hh> 23 + #include <nix/hash.hh> 24 + #include <nix/path.hh> 25 + #include <nix/serialise.hh> 26 + #include <nix/shared.hh> 7 27 #endif 8 - 9 - #include <nix/store-api.hh> 10 - #include <nix/local-store.hh> 11 - #include <nix/remote-store.hh> 12 - #include <nix/uds-remote-store.hh> 13 - #include <nix/hash.hh> 14 - #include <nix/path.hh> 15 - #include <nix/serialise.hh> 16 - #include <nix/shared.hh> 17 28 #else 18 29 #error Unsupported variant 19 30 #endif
+1
flake/nix-versions.nix
··· 38 38 default = pkgs.nix; 39 39 "2.24" = pkgs.nixVersions.nix_2_24; 40 40 "2.26" = pkgs.nixVersions.nix_2_26; 41 + "2.28" = pkgs.nixVersions.nix_2_28; 41 42 }; 42 43 43 44 manifestFile = let