From ca590402ad0d3aefd35d51bdfc016cac9453a47c Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 9 Mar 2024 20:10:02 -0500 Subject: nix flake & env upkeep --- .envrc-nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to '.envrc-nix') 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 -" +' -- cgit v1.2.3