summaryrefslogtreecommitdiffhomepage
path: root/.envrc-nix
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-03-09 20:10:02 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2024-03-10 15:45:11 -0400
commitca590402ad0d3aefd35d51bdfc016cac9453a47c (patch)
tree15b12d0fec8a8c30693a48699d2fd84e53d5e3a3 /.envrc-nix
parentdmd & ldc upkeep (dmd at 2.106.1) (diff)
nix flake & env upkeep
Diffstat (limited to '.envrc-nix')
-rw-r--r--.envrc-nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/.envrc-nix b/.envrc-nix
index d4cc0e8..87adf1c 100644
--- a/.envrc-nix
+++ b/.envrc-nix
@@ -7,6 +7,7 @@ if ! has nix_direnv_version || ! nix_direnv_version ${NixDirEnvVersion}; then
fi
watch_file flake.lock
watch_file flake.nix
+watch_file shell.nix
watch_file makefile
watch_file nixDevEnv.sh
watch_file .envrc-local
@@ -14,7 +15,7 @@ watch_file .envrc-nix
PATH_add result/bin
use flake .
#use flake .#default
-echo "
+echo '
- consider running:
❯❯ nix flake show
❯❯ nix flake update && nix flake check && nix flake show
@@ -24,11 +25,15 @@ echo "
❯❯ nix develop ".#" --print-build-logs -c zsh
- to build project:
+ ❯❯ nix build --print-build-logs
+ ❯❯ nix build ".#" --print-build-logs
+ ❯❯ nix build ".#spine-search-nixpkgs-dmd" --print-build-logs
+ ❯❯ nix build ".#spine-search-overlay-dmd" --print-build-logs
❯❯ nix build ".#spine-search-nixpkgs-ldc" --print-build-logs
- ❯❯ nix build ".#spine-search-ovlerlay-ldc" --print-build-logs
+ ❯❯ nix build ".#spine-search-overlay-ldc" --print-build-logs
- (see nix other/additional build options):
❯❯ nix flake show
❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c zsh
❯❯ dub build --compiler=ldmd --build=release --combined --skip-registry=all
-"
+'