aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/config_nix.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2023-12-16 19:22:52 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2023-12-17 20:05:25 -0500
commit61d8e58b52fa4af8b2665ea6141768e46d3a2bcd (patch)
treee6740042a1e2cf103acb71ed6a18dc36f5b5e0ed /org/config_nix.org
parent.envrc re-adjust & update direnv (diff)
org, spine ver & doc header (copyright & license)
- org import: reuse settings in another org file using code block to evaluate other org file spine_version_info_and_doc_header_including_copyright_and_license.org
Diffstat (limited to 'org/config_nix.org')
-rw-r--r--org/config_nix.org13
1 files changed, 7 insertions, 6 deletions
diff --git a/org/config_nix.org b/org/config_nix.org
index 225a287..b9fcd43 100644
--- a/org/config_nix.org
+++ b/org/config_nix.org
@@ -31,7 +31,7 @@
flake-utils,
} @ inputs: let
pname = "spine";
- version = "<<spine_version_set>>";
+ version = "<<spine_version>>";
shell = ./shell.nix; # ./default.nix;
devEnv = ./nixDevEnv.sh; # ./shell.nix; # ./default.nix; # ./.envrc;
supportedSystems = ["x86_64-linux"]; # [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
@@ -551,7 +551,7 @@ with (
);
mkDubDerivation rec {
pname = "spine";
- version = "<<spine_version_set>>";
+ version = "<<spine_version>>";
src = ./.;
nativeBuildInputs = with pkgs; [dub ldc];
buildInputs = with pkgs; [nixVersions.unstable sqlite];
@@ -580,11 +580,12 @@ installPhase = ''
#+END_SRC
** variables used SET
-*** spine version SET VERSION :version:set:project:
+*** spine project VERSION :version:set:project:
-#+NAME: spine_version_set
-#+BEGIN_SRC sh
-0.14.0
+#+NAME: spine_version
+#+HEADER: :noweb yes
+#+BEGIN_SRC emacs-lisp
+<<./spine_version_info_and_doc_header_including_copyright_and_license.org:spine_project_version()>>
#+END_SRC
*** nixpkgs path / url