aboutsummaryrefslogtreecommitdiffhomepage
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rwxr-xr-xshell.nix49
1 files changed, 29 insertions, 20 deletions
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`"
'';
}