Compare commits

...

2 Commits

Author SHA1 Message Date
081cac7074 pass agent as input 2024-08-27 15:54:48 +02:00
32d799a5e8 update agent 2024-08-27 10:38:18 +02:00

View File

@@ -1,12 +1,8 @@
{ pkgs ? import <nixpkgs> { } }:
{ pkgs ? import <nixpkgs> { }
, agent_src
}:
with pkgs;
let
agent_src = fetchgit {
url = "https://gitea.rixxc.de/rixxc/x25519_agent.git";
rev = "201f270624487ded538b63cc5416456bd5b8ba18";
hash = "sha256-KPaKG+t3qSMy4Y7fd0PlBWZiZYcs7M1Clmn75emC9LU=";
};
agent = callPackage "${agent_src}/default.nix" { };
in
rustPlatform.buildRustPackage {
@@ -17,5 +13,5 @@ rustPlatform.buildRustPackage {
buildInputs = [ agent ];
cargoSha256 = "sha256-ZgwQr1goz9yPws0P1eQwhHEv2WbcJeTCLEPYOUADOtE=";
cargoHash = "sha256-ZgwQr1goz9yPws0P1eQwhHEv2WbcJeTCLEPYOUADOtE=";
}