aboutsummaryrefslogtreecommitdiffhomepage
path: root/.envrc-nix
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-05-06 14:14:49 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-05-06 14:14:52 -0400
commit16532cbf2a360b8ffa47d7b72dab2b204a912153 (patch)
treeec630db7d97afe7c06e4859a8cbaab28cf4cd039 /.envrc-nix
parentset nixVersions.nix_2_21 (diff)
work on more generic install + instructions
Diffstat (limited to '.envrc-nix')
-rw-r--r--.envrc-nix22
1 files changed, 18 insertions, 4 deletions
diff --git a/.envrc-nix b/.envrc-nix
index 9602489..f0e1774 100644
--- a/.envrc-nix
+++ b/.envrc-nix
@@ -20,7 +20,7 @@ echo '
❯❯ nix flake show
❯❯ nix flake update && nix flake check && nix flake show
-- for a dev shell:
+- for a dev shell (develop environment):
❯❯ nix develop
❯❯ nix develop ".#" --print-build-logs -c zsh
❯❯ nix develop ".#dsh-nixpkgs-dmd-dub" --print-build-logs -c zsh
@@ -29,13 +29,27 @@ echo '
❯❯ nix develop ".#dsh-overlay-ldc-dub" --print-build-logs -c zsh
❯❯ nix flake show
-- 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):
+
+ ❯❯ nix develop ".#dsh-nixpkgs-dmd-dub" --print-build-logs -c zsh
❯❯ nix build ".#spine-nixpkgs-dmd" --print-build-logs
+
+ ❯❯ nix develop ".#dsh-overlay-dmd-dub" --print-build-logs -c zsh
❯❯ nix build ".#spine-overlay-dmd" --print-build-logs
+
+ ❯❯ nix develop ".#dsh-nixpkgs-ldc-dub" --print-build-logs -c zsh
❯❯ nix build ".#spine-nixpkgs-ldc" --print-build-logs
+
+ ❯❯ nix develop ".#dsh-overlay-ldc-dub" --print-build-logs -c zsh
❯❯ nix build ".#spine-overlay-ldc" --print-build-logs
- - (see nix other/additional build options):
- ❯❯ nix flake show
+
+ - for develop environment & build options
+
+ ❯❯ nix flake show
+ ❯❯ nix flake update && nix flake check && nix flake show
'