pass agent as input

This commit is contained in:
2024-08-27 15:54:48 +02:00
parent 32d799a5e8
commit 081cac7074

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 = "8455ac766b64c65906cf4d48053bbaab5d21830b";
hash = "sha256-zbeFQ5Q8x3XT7oIV1ebaREf5j9GgLkdnBqk0A0qTQks=";
};
agent = callPackage "${agent_src}/default.nix" { };
in
rustPlatform.buildRustPackage {