Build agent in derivation

This commit is contained in:
2024-04-03 15:42:31 +02:00
parent 8c9c0feb49
commit 49f92039eb
3 changed files with 11 additions and 4 deletions

View File

@@ -12,10 +12,16 @@ let
in
stdenv.mkDerivation {
name = "x25519-agent";
src = nix-gitignore.gitignoreSource [] ./.;
nativeBuildInputs = [
gnumake
gcc
jasmin
];
installPhase = ''
mkdir $out
cp build/agent $out
'';
}