Compare commits
2 Commits
13f852bd20
...
081cac7074
| Author | SHA1 | Date | |
|---|---|---|---|
| 081cac7074 | |||
| 32d799a5e8 |
12
default.nix
12
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 = "201f270624487ded538b63cc5416456bd5b8ba18";
|
|
||||||
hash = "sha256-KPaKG+t3qSMy4Y7fd0PlBWZiZYcs7M1Clmn75emC9LU=";
|
|
||||||
};
|
|
||||||
|
|
||||||
agent = callPackage "${agent_src}/default.nix" { };
|
agent = callPackage "${agent_src}/default.nix" { };
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
@@ -17,5 +13,5 @@ rustPlatform.buildRustPackage {
|
|||||||
|
|
||||||
buildInputs = [ agent ];
|
buildInputs = [ agent ];
|
||||||
|
|
||||||
cargoSha256 = "sha256-ZgwQr1goz9yPws0P1eQwhHEv2WbcJeTCLEPYOUADOtE=";
|
cargoHash = "sha256-ZgwQr1goz9yPws0P1eQwhHEv2WbcJeTCLEPYOUADOtE=";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user