aboutsummaryrefslogtreecommitdiffhomepage
path: root/.env/echo-nixNote
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-07-31 15:44:56 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2022-08-03 19:18:15 -0400
commit934b830f804c1acae1e5f2f55207a1f428244f1f (patch)
tree8b55d1cbc25cbaf59e2ac94db51c809b9f1cc1ab /.env/echo-nixNote
parentocn metaverse, rearrange (diff)
org nix adjust
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