From 081cac7074b1fd7e46b81998db086494ff3fd99e Mon Sep 17 00:00:00 2001 From: Aaron Kaiser Date: Tue, 27 Aug 2024 15:54:48 +0200 Subject: [PATCH] pass agent as input --- default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/default.nix b/default.nix index be2fc22..151184f 100644 --- a/default.nix +++ b/default.nix @@ -1,12 +1,8 @@ -{ pkgs ? import { } }: +{ pkgs ? import { } +, 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 {