aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-06-29 13:12:16 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-06-29 15:39:03 -0400
commit6f5dd3d137eb65b777d4e24e367c63c3e4fd2d1f (patch)
treec6d44f2ea7a2eac41bc03d33e7cd03577de629b2
parent0.17.0 (diff)
nix minor
-rw-r--r--.envrc-nix16
-rw-r--r--flake.nix3
-rw-r--r--org/config_env.org16
-rw-r--r--org/config_nix.org5
-rwxr-xr-xshell.nix2
5 files changed, 24 insertions, 18 deletions
diff --git a/.envrc-nix b/.envrc-nix
index 5100500..e73a20d 100644
--- a/.envrc-nix
+++ b/.envrc-nix
@@ -16,11 +16,11 @@ PATH_add result/bin
use flake .
#use flake .#default
echo '
-- consider running:
+• consider running:
❯❯ nix flake show
❯❯ nix flake update && nix flake check && nix flake show
-- for a dev shell (development environment):
+• for a dev shell (development environment):
❯❯ nix develop
❯❯ nix develop ".#" --print-build-logs -c zsh
@@ -30,18 +30,18 @@ echo '
❯❯ nix develop ".#dsh-overlay-ldc-dub" --print-build-logs -c zsh
❯❯ nix flake show
-- to build project:
+• to build project:
❯❯ nix build --print-build-logs
❯❯ nix build ".#" --print-build-logs
-- to build project:
+• to build project:
❯❯ nix build ".#spine-nixpkgs-dmd" --print-build-logs
❯❯ nix build ".#spine-overlay-dmd" --print-build-logs
❯❯ nix build ".#spine-nixpkgs-ldc" --print-build-logs
❯❯ nix build ".#spine-overlay-ldc" --print-build-logs
-- to build using dub on nix (get dependencies by setting your development environment):
+• to build using dub on nix (get dependencies by setting your development environment):
❯❯ nix develop ".#dsh-nixpkgs-dmd-dub" --print-build-logs -c zsh
❯❯ dub --verbose --compiler=dmd --config=dmd
@@ -49,19 +49,19 @@ echo '
❯❯ nix develop ".#dsh-nixpkgs-ldc-dub" --print-build-logs -c zsh
❯❯ dub --verbose --compiler=ldmd2 --config=ldmd2
-- for develop environment & build options
+• for develop environment & build options
❯❯ nix flake update && nix flake check && nix flake show
❯❯ nix flake show
-- if on nix: build the sisudoc-spine using nix build commands above and
+• if on nix: build the sisudoc-spine using nix build commands above and
run the result against the sample files here in the sisudoc-spine-samples dir
(assuming the appropriate paths have been set in your .envrc-local)
❯❯ ${SpineBIN} -v --source --pod --epub --html --html-link-curate --html-link-markup --curate --output=${SpineOUT} ${SpinePOD}/*
❯❯ ${SpineBIN} -v --source --pod --latex --latex-init --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=${SpineOUT} ${SpinePOD}/*
'
-echo "-
+echo "•
❯❯ ${SpineBIN} -v --source --pod --epub --html --html-link-curate --html-link-markup --curate --output=${SpineOUT} ${SpinePOD}/*
❯❯ ${SpineBIN} -v --source --pod --latex --latex-init --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=${SpineOUT} ${SpinePOD}/*
"
diff --git a/flake.nix b/flake.nix
index 32b9a4a..866f7fb 100644
--- a/flake.nix
+++ b/flake.nix
@@ -6,7 +6,8 @@
self,
nixpkgs,
flake-utils,
- } @ inputs: let
+ ...
+ }@inputs: let
pname = "spine";
version = "0.17.0";
shell = ./shell.nix;
diff --git a/org/config_env.org b/org/config_env.org
index c534640..1ea434a 100644
--- a/org/config_env.org
+++ b/org/config_env.org
@@ -72,11 +72,11 @@ PATH_add result/bin
use flake .
#use flake .#default
echo '
-- consider running:
+• consider running:
❯❯ nix flake show
❯❯ nix flake update && nix flake check && nix flake show
-- for a dev shell (development environment):
+• for a dev shell (development environment):
❯❯ nix develop
❯❯ nix develop ".#" --print-build-logs -c zsh
@@ -86,18 +86,18 @@ echo '
❯❯ nix develop ".#dsh-overlay-ldc-dub" --print-build-logs -c zsh
❯❯ nix flake show
-- to build project:
+• to build project:
❯❯ nix build --print-build-logs
❯❯ nix build ".#" --print-build-logs
-- to build project:
+• to build project:
❯❯ nix build ".#spine-nixpkgs-dmd" --print-build-logs
❯❯ nix build ".#spine-overlay-dmd" --print-build-logs
❯❯ nix build ".#spine-nixpkgs-ldc" --print-build-logs
❯❯ nix build ".#spine-overlay-ldc" --print-build-logs
-- to build using dub on nix (get dependencies by setting your development environment):
+• to build using dub on nix (get dependencies by setting your development environment):
❯❯ nix develop ".#dsh-nixpkgs-dmd-dub" --print-build-logs -c zsh
❯❯ dub --verbose --compiler=dmd --config=dmd
@@ -105,19 +105,19 @@ echo '
❯❯ nix develop ".#dsh-nixpkgs-ldc-dub" --print-build-logs -c zsh
❯❯ dub --verbose --compiler=ldmd2 --config=ldmd2
-- for develop environment & build options
+• for develop environment & build options
❯❯ nix flake update && nix flake check && nix flake show
❯❯ nix flake show
-- if on nix: build the sisudoc-spine using nix build commands above and
+• if on nix: build the sisudoc-spine using nix build commands above and
run the result against the sample files here in the sisudoc-spine-samples dir
(assuming the appropriate paths have been set in your .envrc-local)
❯❯ ${SpineBIN} -v --source --pod --epub --html --html-link-curate --html-link-markup --curate --output=${SpineOUT} ${SpinePOD}/*
❯❯ ${SpineBIN} -v --source --pod --latex --latex-init --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=${SpineOUT} ${SpinePOD}/*
'
-echo "-
+echo "•
❯❯ ${SpineBIN} -v --source --pod --epub --html --html-link-curate --html-link-markup --curate --output=${SpineOUT} ${SpinePOD}/*
❯❯ ${SpineBIN} -v --source --pod --latex --latex-init --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=${SpineOUT} ${SpinePOD}/*
"
diff --git a/org/config_nix.org b/org/config_nix.org
index 0e553b7..9f4617d 100644
--- a/org/config_nix.org
+++ b/org/config_nix.org
@@ -29,7 +29,8 @@
self,
nixpkgs,
flake-utils,
- } @ inputs: let
+ ...
+ }@inputs: let
pname = "spine";
version = "<<spine_version>>";
shell = ./shell.nix;
@@ -449,6 +450,8 @@ with pkgs-nix;
# foliate
# ❯❯❯ i18n translation related
# perl538Packages.Po4a
+ # ❯❯❯ dev
+ # openssl_3_3
];
shellHook = ''
'';
diff --git a/shell.nix b/shell.nix
index c9415d4..389fa7b 100755
--- a/shell.nix
+++ b/shell.nix
@@ -51,6 +51,8 @@ with pkgs-nix;
# foliate
# ❯❯❯ i18n translation related
# perl538Packages.Po4a
+ # ❯❯❯ dev
+ # openssl_3_3
];
shellHook = ''
'';