Update dependencies

This commit is contained in:
Nikodem Rabuliński 2024-08-14 20:33:44 +02:00
parent 0334b8ab2a
commit f0a8400f3d
Signed by: nrabulinski
SSH key fingerprint: SHA256:AZZVyfKStaCo8sbJB+3Rr/CRrlym1oEgw7vMnynJeR8
4 changed files with 29 additions and 29 deletions

View file

@ -44,7 +44,7 @@ CPathInfo::CPathInfo(nix::ref<const nix::ValidPathInfo> pi) : pi(pi) {}
RHashSlice CPathInfo::nar_sha256_hash() { RHashSlice CPathInfo::nar_sha256_hash() {
auto &hash = this->pi->narHash; auto &hash = this->pi->narHash;
if (hash.type != nix::htSHA256) { if (hash.type != nix::HashType::SHA256) {
throw nix::Error("Only SHA-256 hashes are supported at the moment"); throw nix::Error("Only SHA-256 hashes are supported at the moment");
} }

View file

@ -13,14 +13,14 @@
#include <memory> #include <memory>
#include <mutex> #include <mutex>
#include <set> #include <set>
#include <libstore/store-api.hh> #include <lix/libstore/store-api.hh>
#include <libstore/local-store.hh> #include <lix/libstore/local-store.hh>
#include <libstore/remote-store.hh> #include <lix/libstore/remote-store.hh>
#include <libstore/uds-remote-store.hh> #include <lix/libstore/uds-remote-store.hh>
#include <libutil/hash.hh> #include <lix/libutil/hash.hh>
#include <libstore/path.hh> #include <lix/libstore/path.hh>
#include <libutil/serialise.hh> #include <lix/libutil/serialise.hh>
#include <libmain/shared.hh> #include <lix/libmain/shared.hh>
#include <rust/cxx.h> #include <rust/cxx.h>
template<class T> using RVec = rust::Vec<T>; template<class T> using RVec = rust::Vec<T>;

View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1721322122, "lastModified": 1722960479,
"narHash": "sha256-a0G1NvyXGzdwgu6e1HQpmK5R5yLsfxeBe07nNDyYd+g=", "narHash": "sha256-NhCkJJQhD5GUib8zN9JrmYGMwt4lCRp6ZVNzIiYCl0Y=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "8a68b987c476a33e90f203f0927614a75c3f47ea", "rev": "4c6c77920b8d44cd6660c1621dea6b3fc4b4c4f4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -90,17 +90,17 @@
"lix": { "lix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1721371213, "lastModified": 1723577950,
"narHash": "sha256-7SdrlNe5DBlK5uLBhPPxVRWI50N1PFz3zMBeDYiX0Qs=", "narHash": "sha256-kOpGI9WPmte1L4QWHviuXsr8jxmGn27zwi82jtzYObM=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "aba5f19680b2f4c29d7ce2ff5e2a89128c1cb26d", "rev": "b016eb0895bb6714a4f6530d9a2bb6577ac6c3cf",
"revCount": 15985, "revCount": 16134,
"type": "git", "type": "git",
"url": "ssh://git@git.lix.systems/lix-project/lix" "url": "https://git.lix.systems/lix-project/lix"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "ssh://git@git.lix.systems/lix-project/lix" "url": "https://git.lix.systems/lix-project/lix"
} }
}, },
"lix-module": { "lix-module": {
@ -115,26 +115,26 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1720695775, "lastModified": 1723511483,
"narHash": "sha256-8Oqzl9QPjEe/n8y0R2tC6+2v/H6xBgABHXOJwxmnBg0=", "narHash": "sha256-rT/OkVXKkns2YvyF1nFvl+8Gc3sld1c1sXPtGkbqaDY=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "d70318fb946a0e720dfdd1fb10b0645c14e2a02a", "rev": "cecf70b77539c1a593f60ec9d0305b5e537ab6a9",
"revCount": 94, "revCount": 106,
"type": "git", "type": "git",
"url": "ssh://git@git.lix.systems/lix-project/nixos-module" "url": "https://git.lix.systems/lix-project/nixos-module"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "ssh://git@git.lix.systems/lix-project/nixos-module" "url": "https://git.lix.systems/lix-project/nixos-module"
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1721373214, "lastModified": 1723603349,
"narHash": "sha256-crpGeGQGFlnCsMyCE5eheyjzo3xo03o1FXJ2sAbm7No=", "narHash": "sha256-VMg6N7MryOuvSJ8Sj6YydarnUCkL7cvMdrMcnsJnJCE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "af9c15bc7a314c226d7d5d85e159f7a73e8d9fae", "rev": "daf7bb95821b789db24fc1ac21f613db0c1bf2cb",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -4,11 +4,11 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
lix = { lix = {
url = "git+ssh://git@git.lix.systems/lix-project/lix"; url = "git+https://git.lix.systems/lix-project/lix";
flake = false; flake = false;
}; };
lix-module = { lix-module = {
url = "git+ssh://git@git.lix.systems/lix-project/nixos-module"; url = "git+https://git.lix.systems/lix-project/nixos-module";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.lix.follows = "lix"; inputs.lix.follows = "lix";
}; };