diff options
author | Claudius Holeksa <mail@keldu.de> | 2023-05-23 18:04:40 +0200 |
---|---|---|
committer | Claudius Holeksa <mail@keldu.de> | 2023-05-23 18:04:40 +0200 |
commit | 49cd4c7f007df26733f8c609c234a37be8214163 (patch) | |
tree | 2642b2f75e866cff9879700194ff6f35821757ec /.nix | |
parent | bb1c40e06794e82a4f9aafaeddadd4c634f0a1b3 (diff) |
nix: Adding nix support
Diffstat (limited to '.nix')
-rw-r--r-- | .nix/derivation.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.nix/derivation.nix b/.nix/derivation.nix new file mode 100644 index 0000000..cf887cd --- /dev/null +++ b/.nix/derivation.nix @@ -0,0 +1,26 @@ +{ lib +, stdenvNoCC +, scons +, clang +, forstio +}: + +stdenvNoCC.mkDerivation { + pname = "kel-unit"; + version = "0.0.0"; + src = ./..; + + nativeBuildInputs = [ + scons + clang + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.io + forstio.codec + ]; + + outputs = [ "out" ]; +} |