diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-11-25 20:50:40 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-12-23 18:15:52 -0500 |
commit | 4c089543a4ac61ac21dab814c0dc114d48f42c36 (patch) | |
tree | 0b1da4c4c7c3d73c40dbef2fdfc604686d72dfe6 /shell.nix | |
parent | epub header assertion removed, check (diff) |
0.12.0
Diffstat (limited to 'shell.nix')
-rwxr-xr-x | shell.nix | 49 |
1 files changed, 29 insertions, 20 deletions
@@ -61,26 +61,35 @@ mkShell { echo "nix flake show:" nix flake show echo "" - echo "nix build or nix develop? (suggestions):" - echo '- nix build' - echo ' nix build .#spine --print-build-logs' - echo ' nix build --print-build-logs' - echo '- nix run' - echo ' nix run .#spine --print-build-logs' - echo ' nix run default.nix --print-build-logs' - echo '- nix shell' - echo ' nix shell --print-build-logs --command spine -v' - echo '- nix develop' - echo ' nix develop --build .#spine --print-build-logs' - echo ' nix develop --build -f derivation.nix -I .envrc --print-build-logs' - echo ' nix develop ; eval "$buildPhase"' - echo "" - echo 'spine -v' - echo "examine" - echo ' nix-instantiate | nix show-derivation | jq' - echo ' nix-build . --no-out-link | xargs -o nix-tree' - echo ' nix-tree --derivation .#spine' - echo "" + echo " + nix flake update + nix flake metadata + nix flake check + nix flake show + + nix build or nix develop? (suggestions): + + - nix build + nix build .#spine --print-build-logs + nix build --print-build-logs + + - nix run + nix run .#spine --print-build-logs + nix run default.nix --print-build-logs + - nix shell + nix shell --print-build-logs --command spine -v + - nix develop + nix develop --build .#spine --print-build-logs + nix develop --build -f derivation.nix -I .envrc --print-build-logs + nix develop ; eval $buildPhase + + spine -v + + nix-instantiate | nix show-derivation | jq + nix-build . --no-out-link | xargs -o nix-tree + nix-tree --derivation .#spine + + " #echo "ldc `${pkgs.ldc}/bin/ldc2 -v`" ''; } |