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