From 4c089543a4ac61ac21dab814c0dc114d48f42c36 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 25 Nov 2022 20:50:40 -0500 Subject: 0.12.0 --- shell.nix | 49 +++++++++++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 20 deletions(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index 6b84544..d745b40 100755 --- a/shell.nix +++ b/shell.nix @@ -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`" ''; } -- cgit v1.2.3