diff options
Diffstat (limited to 'src/io/.nix')
-rw-r--r-- | src/io/.nix/derivation.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/io/.nix/derivation.nix b/src/io/.nix/derivation.nix new file mode 100644 index 0000000..0d213d3 --- /dev/null +++ b/src/io/.nix/derivation.nix @@ -0,0 +1,32 @@ +{ lib +, stdenvNoCC +, scons +, clang +, clang-tools +, version +, forstio +}: + +let + +in stdenvNoCC.mkDerivation { + pname = "forstio-io"; + inherit version; + + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + ]; + + outputs = ["out" "dev"]; +} |