pass agent as input
This commit is contained in:
10
default.nix
10
default.nix
@@ -1,12 +1,8 @@
|
|||||||
{ pkgs ? import <nixpkgs> { } }:
|
{ pkgs ? import <nixpkgs> { }
|
||||||
|
, agent_src
|
||||||
|
}:
|
||||||
with pkgs;
|
with pkgs;
|
||||||
let
|
let
|
||||||
agent_src = fetchgit {
|
|
||||||
url = "https://gitea.rixxc.de/rixxc/x25519_agent.git";
|
|
||||||
rev = "8455ac766b64c65906cf4d48053bbaab5d21830b";
|
|
||||||
hash = "sha256-zbeFQ5Q8x3XT7oIV1ebaREf5j9GgLkdnBqk0A0qTQks=";
|
|
||||||
};
|
|
||||||
|
|
||||||
agent = callPackage "${agent_src}/default.nix" { };
|
agent = callPackage "${agent_src}/default.nix" { };
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
|
|||||||
Reference in New Issue
Block a user