summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudius Holeksa <mail@keldu.de>2023-04-22 18:10:13 +0200
committerClaudius Holeksa <mail@keldu.de>2023-04-22 18:10:13 +0200
commitcb7f1acf33a8b766f325984d04dd70ed43335c27 (patch)
tree43813b0b774e754527fd2cdeb1bf432fd3a10929
parent2c8e2829dcf7c299d8f4121571722618f5ca59b3 (diff)
Moving version declaration to the root
-rw-r--r--default.nix4
-rw-r--r--forstio/core/.nix/derivation.nix3
2 files changed, 5 insertions, 2 deletions
diff --git a/default.nix b/default.nix
index f8ecc6c..1eada57 100644
--- a/default.nix
+++ b/default.nix
@@ -3,6 +3,8 @@
{
forstio = {
- core = pkgs.callPackage ./forstio/core/.nix/derivation.nix {};
+ core = pkgs.callPackage ./forstio/core/.nix/derivation.nix {
+ version = "0.0.0";
+ };
};
}
diff --git a/forstio/core/.nix/derivation.nix b/forstio/core/.nix/derivation.nix
index a3b7ef1..adf0cb4 100644
--- a/forstio/core/.nix/derivation.nix
+++ b/forstio/core/.nix/derivation.nix
@@ -3,13 +3,14 @@
, scons
, clang
, clang-tools
+, version
}:
let
in stdenvNoCC.mkDerivation {
pname = "forstio-core";
- version = "0.0.0";
+ inherit version;
src = ./..;