From 61d8e58b52fa4af8b2665ea6141768e46d3a2bcd Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 16 Dec 2023 19:22:52 -0500 Subject: 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 --- org/config_nix.org | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'org/config_nix.org') 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 = "<>"; + 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 = "<>"; + 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 -- cgit v1.2.3