aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-05-06 15:44:12 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-05-06 15:44:18 -0400
commit97e9d4c68ead968f5ac23c0ae586ce21300c9a36 (patch)
tree5a3b49dfe567354419b12c1186a1e2fa6327ca86 /org
parentwork on more generic install + instructions (diff)
.envrc-nix info
Diffstat (limited to 'org')
-rw-r--r--org/config_env.org23
1 files changed, 12 insertions, 11 deletions
diff --git a/org/config_env.org b/org/config_env.org
index 165a53a..112830b 100644
--- a/org/config_env.org
+++ b/org/config_env.org
@@ -76,7 +76,8 @@ echo '
❯❯ nix flake show
❯❯ nix flake update && nix flake check && nix flake show
-- for a dev shell (develop 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
@@ -85,29 +86,29 @@ 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
+- 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 --verbose --compiler=dmd --config=dmd
+
+ ❯❯ nix develop ".#dsh-nixpkgs-ldc-dub" --print-build-logs -c zsh
+ ❯❯ dub --verbose --compiler=ldmd2 --config=ldmd2
+
- for develop environment & build options
- ❯❯ nix flake show
❯❯ nix flake update && nix flake check && nix flake show
+ ❯❯ nix flake show
'
#+END_SRC