From 6f5dd3d137eb65b777d4e24e367c63c3e4fd2d1f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 29 Jun 2024 13:12:16 -0400 Subject: nix minor --- org/config_env.org | 16 ++++++++-------- org/config_nix.org | 5 ++++- 2 files changed, 12 insertions(+), 9 deletions(-) (limited to 'org') 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 = "<>"; shell = ./shell.nix; @@ -449,6 +450,8 @@ with pkgs-nix; # foliate # ❯❯❯ i18n translation related # perl538Packages.Po4a + # ❯❯❯ dev + # openssl_3_3 ]; shellHook = '' ''; -- cgit v1.2.3