Update dependencies
This commit is contained in:
parent
0334b8ab2a
commit
f0a8400f3d
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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>;
|
||||||
|
|
36
flake.lock
36
flake.lock
|
@ -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": {
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue