summaryrefslogtreecommitdiffhomepage
path: root/org/dlang-nix-flakes.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-05-08 21:50:41 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-05-08 21:50:41 -0400
commit595ee0a46d510a7152766b7c70fa1c700908ad4e (patch)
tree72f7726a9bcb1c286f222e5c96eb634e0e22b2c2 /org/dlang-nix-flakes.org
parentset nixVersions.nix_2_21 (diff)
nix minor housekeeping
Diffstat (limited to 'org/dlang-nix-flakes.org')
-rw-r--r--org/dlang-nix-flakes.org21
1 files changed, 5 insertions, 16 deletions
diff --git a/org/dlang-nix-flakes.org b/org/dlang-nix-flakes.org
index f7af27b..b64fdb0 100644
--- a/org/dlang-nix-flakes.org
+++ b/org/dlang-nix-flakes.org
@@ -325,21 +325,6 @@ echo ""
PATH_add result/bin
use flake .
#use flake .#default
-echo '
-- consider running:
- ❯❯ nix flake show
- ❯❯ nix flake update && nix flake check && nix flake show
- ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL
-
-- for a dev shell:
- ❯❯ nix develop
- ❯❯ nix develop -c $SHELL
- ❯❯ nix develop ".#dsh-overlay-ldc" --print-build-logs
-
-- to build project:
- ❯❯ nix build --print-build-logs
- ❯❯ nix build ".#" --print-build-logs
-'
#+END_SRC
*** 3.0.4
@@ -570,7 +555,7 @@ direnv fetchurl https://raw.githubusercontent.com/nix-community/nix-direnv/${Nix
}
#+END_SRC
-** shell.nix
+*** shell.nix
#+HEADER: :tangle "../shell.nix"
#+HEADER: :tangle-mode (identity #o755)
@@ -617,6 +602,10 @@ with pkgs-nix;
#gtkd
];
shellHook = ''
+ #echo '
+ # shell.nix echo ❯❯
+ # ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL
+ #'
'';
}
#+END_SRC