diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-11-13 14:12:49 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-11-13 14:12:49 +0100 |
| commit | e821d617802ebbfff756844e4d9720342fc78a4e (patch) | |
| tree | 1dcf33b84698b5074218e44ea491b77a9c23ee66 /modules/swarm/.nix | |
| parent | 0c0087ef9482634273ec1a23d3a915754f94926d (diff) | |
| download | libs-lbm-dev.tar.gz | |
Swarm POCdev
Diffstat (limited to 'modules/swarm/.nix')
| -rw-r--r-- | modules/swarm/.nix/derivation.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/modules/swarm/.nix/derivation.nix b/modules/swarm/.nix/derivation.nix new file mode 100644 index 0000000..afd07ef --- /dev/null +++ b/modules/swarm/.nix/derivation.nix @@ -0,0 +1,38 @@ +{ lib +, stdenv +, scons +, clang-tools +, forstio +, pname +, version +, kel +}: + +stdenv.mkDerivation { + pname = "${pname}-swarm"; + inherit version; + src = ./..; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + # The module itself is forstio free -- it is schemas and arithmetic. forstio + # is here only for the test runner, exactly as in modules/core. + buildInputs = [ + forstio.core + kel.lbm.core + ]; + + doCheck = true; + + checkPhase = '' + scons test + ./bin/tests + ''; + + preferLocalBuild = true; + + outputs = [ "out" "dev" ]; +} |
