From 28a4e20052411f2dfd5578207449332d4e515b10 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 30 Jul 2024 00:22:51 +0200 Subject: wip --- .nix/derivation.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .nix/derivation.nix (limited to '.nix/derivation.nix') diff --git a/.nix/derivation.nix b/.nix/derivation.nix new file mode 100644 index 0000000..e67f767 --- /dev/null +++ b/.nix/derivation.nix @@ -0,0 +1,31 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +}: + +stdenv.mkDerivation { + pname = "kelauth"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.codec + forstio.io + forstio.remote + forstio.remote-fs + ]; + + outputs = ["out" "dev"]; +} -- cgit v1.2.3