aboutsummaryrefslogtreecommitdiffhomepage
path: root/.env/echo-nixNote
diff options
context:
space:
mode:
Diffstat (limited to '.env/echo-nixNote')
-rw-r--r--.env/echo-nixNote13
1 files changed, 10 insertions, 3 deletions
diff --git a/.env/echo-nixNote b/.env/echo-nixNote
index 6ddfe58..98449bb 100644
--- a/.env/echo-nixNote
+++ b/.env/echo-nixNote
@@ -13,16 +13,23 @@ echo '
#+BEGIN_SRC sh
nix-shell --pure
-nix-build
-nix build -f default.nix
-nix shell -f default.nix
+nix build -f default.nix --print-build-logs
+nix shell -f default.nix --print-build-logs
+nix develop --build -f derivation.nix -I .envrc --print-build-logs
+
nix-instantiate | nix-build
+
+nix-instantiate -I .envrc | nix-build -I .envrc
nix build `nix-instantiate`
+nix build `nix-instantiate -I .envrc`
nix develop
nix-instantiate | nix show-derivation | jq
+nix-instantiate -I .envrc | nix show-derivation -f derivation.nix -I .envrc | jq
+
nix-instantiate | nix show-derivation --recursive | jq
+nix-instantiate -I .envrc | nix show-derivation -f derivation.nix --recursive -I .envrc | jq
nix search --json 2>/dev/null |jq
#+END_SRC