summaryrefslogtreecommitdiffhomepage
path: root/.envrc-nix
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-07-04 13:05:49 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-07-04 13:11:55 -0400
commit45e05c72783ce6aa5317aa68bf3b6f5acab4a773 (patch)
tree6a119f2acfa5f45146edba6c05c7fa6e4fba3d30 /.envrc-nix
parentshallow clone for install directory (diff)
minor (nix related)
Diffstat (limited to '.envrc-nix')
-rw-r--r--.envrc-nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/.envrc-nix b/.envrc-nix
index a98cf57..6da2e86 100644
--- a/.envrc-nix
+++ b/.envrc-nix
@@ -16,11 +16,11 @@ PATH_add result/bin
use flake .
#use flake .#default
echo '
-- consider running:
+• consider running:
❯❯ nix flake show
❯❯ nix flake update && nix flake check && nix flake show
-- for a dev shell (development environment):
+• for a dev shell (development environment):
❯❯ nix develop
❯❯ nix develop ".#" --print-build-logs -c zsh
❯❯ nix develop ".#dsh-nixpkgs-dmd-dub" --print-build-logs -c zsh
@@ -28,11 +28,11 @@ echo '
❯❯ nix develop ".#dsh-nixpkgs-ldc-dub" --print-build-logs -c zsh
❯❯ nix develop ".#dsh-overlay-ldc-dub" --print-build-logs -c zsh
-- to build project:
+• to build project:
❯❯ nix build --print-build-logs
❯❯ nix build ".#" --print-build-logs
-- to build project (for build dependencies select appropriate dev env & build):
+• to build project (for build dependencies select appropriate dev env & build):
❯❯ nix build ".#spine-search-nixpkgs-dmd" --print-build-logs
❯❯ nix build ".#spine-search-overlay-dmd" --print-build-logs
@@ -40,7 +40,7 @@ echo '
❯❯ nix build ".#spine-search-nixpkgs-ldc" --print-build-logs
❯❯ nix build ".#spine-search-overlay-ldc" --print-build-logs
-- to build using dub on nix (get dependencies by setting your development environment):
+• to build using dub on nix (get dependencies by setting your development environment):
❯❯ nix develop ".#dsh-nixpkgs-dmd-dub" --print-build-logs -c zsh
❯❯ dub run --compiler=dmd --config=dmd --combined --skip-registry=all
@@ -48,7 +48,7 @@ echo '
❯❯ nix develop ".#dsh-nixpkgs-ldc-dub" --print-build-logs -c zsh
❯❯ dub run --compiler=ldmd2 --config=ldmd2 --combined --skip-registry=all
-- for develop environment & build options
+• for develop environment & build options
❯❯ nix flake show
❯❯ nix flake update && nix flake check && nix flake show