summaryrefslogtreecommitdiff
path: root/app/.nix/derivation.nix
diff options
context:
space:
mode:
Diffstat (limited to 'app/.nix/derivation.nix')
-rw-r--r--app/.nix/derivation.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/.nix/derivation.nix b/app/.nix/derivation.nix
new file mode 100644
index 0000000..b90200e
--- /dev/null
+++ b/app/.nix/derivation.nix
@@ -0,0 +1,24 @@
+{ stdenv
+, scons
+, forstio
+}:
+stdenv.mkDerivation {
+ pname = "icosahedrical_destruction";
+ version = "0.0.0";
+
+ src = ./..;
+
+ nativeBuildInputs = [
+ scons
+ forstio.core
+ ];
+
+ buildInputs = [
+ ];
+
+ doCheck = true;
+ checkPhase = ''
+ scons test
+ ./bin/tests
+ '';
+}