diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 28 | 
1 files changed, 27 insertions, 1 deletions
| @@ -43,6 +43,7 @@        runHook postInstall      '';      postInstall = '' +      echo "❯❯ ./result/bin/spine -v --source --pod --text --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=./OUTPUT_TEST_sisudocSpine ../sisu-spine-samples/markup/pod/*";        echo `ls -la $out/bin/spine`        $out/bin/spine -v      ''; @@ -210,7 +211,14 @@        shellHook = ''          export Date=`date "+%Y%m%d"`          ## set local values in .envrc-local (or here if you must) -        echo "  ❯❯ ./result/bin/spine -v --source --pod --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=./OUTPUT_TEST_sisudocSpine ../sisu-spine-samples/markup/pod/*"; +        echo '❯❯ nix build'; +        SpineProjVer=`rg "Version\((\d+), (\d+), (\d+)\)" views/version.txt | sed -E 's/.*([0-9]+), ([0-9]+), ([0-9]+).*/spine-v\1.\2.\3/'` && \ +          SpineGitVer=`git describe | sed "s/^[a-z_-]\+\([0-9.]\+\)/\1/" | sed "s/\([^-]*-g\)/r\1/" | sed "s/-/./g"` && \ +          SpineGitBranch=`git branch --show-current` && \ +          echo "❯❯ $SpineProjVer - ($SpineGitBranch: $SpineGitVer)" +        echo '❯❯ $SpineBIN -v --source --pod --text --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=$SpineOUT  $SpinePOD/*'; +        echo "❯❯ $SpineBIN -v --source --pod --text --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=$SpineOUT  $SpinePOD/*"; +        echo '❯❯ nix flake update && nix flake check && nix flake show';        '';      in        with pkgs-nix; { @@ -225,6 +233,8 @@              dtools              gnumake              sqlite +            gnused +            ripgrep            ];            inherit shellHook;          }; @@ -238,6 +248,8 @@              dtools              gnumake              sqlite +            gnused +            ripgrep            ];            inherit shellHook;          }; @@ -251,6 +263,8 @@              dtools              gnumake              sqlite +            gnused +            ripgrep            ];            inherit shellHook;          }; @@ -264,6 +278,8 @@              dtools              gnumake              sqlite +            gnused +            ripgrep            ];            inherit shellHook;          }; @@ -306,6 +322,8 @@              calibre #(suite includes: ebook-viewer)              koreader              foliate +            gnused +            ripgrep            ];            inherit shellHook;          }; @@ -327,6 +345,8 @@              w3m              # ❯❯ light graphical              #dillo +            gnused +            ripgrep            ];            inherit shellHook;          }; @@ -344,6 +364,8 @@              source-serif-pro              source-code-pro              texlive.combined.scheme-full +            gnused +            ripgrep            ];            inherit shellHook;          }; @@ -358,6 +380,8 @@              dtools              gnumake              sqlite +            gnused +            ripgrep            ];            inherit shellHook;          }; @@ -373,6 +397,8 @@              gnumake              sqlite              perl538Packages.Po4a +            gnused +            ripgrep            ];            inherit shellHook;          }; | 
