From cb7f1acf33a8b766f325984d04dd70ed43335c27 Mon Sep 17 00:00:00 2001 From: Claudius Holeksa Date: Sat, 22 Apr 2023 18:10:13 +0200 Subject: Moving version declaration to the root --- default.nix | 4 +++- forstio/core/.nix/derivation.nix | 3 ++- 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 = ./..; -- cgit v1.2.3