diff options
author | Vova Kryachko <v.kryachko@gmail.com> | 2024-11-12T04·15-0500 |
---|---|---|
committer | Vladimir Kryachko <v.kryachko@gmail.com> | 2024-11-13T21·21+0000 |
commit | fa9c067dc9b631363659b55053f5f6d4428eb8a4 (patch) | |
tree | 16b36ee54159658b33943296a5d1fda147c65635 /users/edef/fetchroots | |
parent | 6aada9106209d431407c3a45f466ef59b3cff504 (diff) |
feat(nix-daemon): Implement more nix daemon operations. r/8917
In particular QueryPathFromHashPart, QueryValidPaths, QueryValidDerivers Change-Id: Ie6ad83cec5ce9580044b85e201e4e23394f87075 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12762 Tested-by: BuildkiteCI Reviewed-by: edef <edef@edef.eu> Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'users/edef/fetchroots')
-rw-r--r-- | users/edef/fetchroots/Cargo.lock | 1 | ||||
-rw-r--r-- | users/edef/fetchroots/Cargo.nix | 14 |
2 files changed, 13 insertions, 2 deletions
diff --git a/users/edef/fetchroots/Cargo.lock b/users/edef/fetchroots/Cargo.lock index 3f6b463d8ec0..cb3906594528 100644 --- a/users/edef/fetchroots/Cargo.lock +++ b/users/edef/fetchroots/Cargo.lock @@ -1694,6 +1694,7 @@ dependencies = [ "ed25519", "ed25519-dalek", "enum-primitive-derive", + "futures", "glob", "mimalloc", "nix-compat-derive", diff --git a/users/edef/fetchroots/Cargo.nix b/users/edef/fetchroots/Cargo.nix index 8049acaadc71..825b12ebdfae 100644 --- a/users/edef/fetchroots/Cargo.nix +++ b/users/edef/fetchroots/Cargo.nix @@ -5523,6 +5523,11 @@ rec { packageId = "enum-primitive-derive"; } { + name = "futures"; + packageId = "futures"; + optional = true; + } + { name = "glob"; packageId = "glob"; } @@ -5582,6 +5587,10 @@ rec { ]; devDependencies = [ { + name = "futures"; + packageId = "futures"; + } + { name = "mimalloc"; packageId = "mimalloc"; } @@ -5593,14 +5602,15 @@ rec { features = { "async" = [ "tokio" ]; "bytes" = [ "dep:bytes" ]; - "daemon" = [ "tokio" "nix-compat-derive" ]; + "daemon" = [ "tokio" "nix-compat-derive" "futures" ]; "default" = [ "async" "daemon" "wire" "nix-compat-derive" ]; + "futures" = [ "dep:futures" ]; "nix-compat-derive" = [ "dep:nix-compat-derive" ]; "pin-project-lite" = [ "dep:pin-project-lite" ]; "tokio" = [ "dep:tokio" ]; "wire" = [ "tokio" "pin-project-lite" "bytes" ]; }; - resolvedDefaultFeatures = [ "async" "bytes" "daemon" "default" "nix-compat-derive" "pin-project-lite" "tokio" "wire" ]; + resolvedDefaultFeatures = [ "async" "bytes" "daemon" "default" "futures" "nix-compat-derive" "pin-project-lite" "tokio" "wire" ]; }; "nix-compat-derive" = rec { crateName = "nix-compat-derive"; |