aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/config_make.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2023-01-24 12:33:53 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2023-01-26 08:29:03 -0500
commitf0dbee6a6204dc92b2418723393aa3cb298245af (patch)
tree59040609ec5d089a410498972900cf546950bff5 /org/config_make.org
parent2023, year rollover, old habit (diff)
nix & build housekeeping, alternative D compilers
Diffstat (limited to 'org/config_make.org')
-rw-r--r--org/config_make.org16
1 files changed, 16 insertions, 0 deletions
diff --git a/org/config_make.org b/org/config_make.org
index 2a7f5bd..ae41c51 100644
--- a/org/config_make.org
+++ b/org/config_make.org
@@ -62,6 +62,22 @@ deps := "`ls -gx './src/ext_depends'`"
dirs_loc := "`ls -gx '.'`"
#dirs := "`ls -gx ${gwd}`"
+nix-devshell:
+ echo -ne "\n- nix flake update && nix flake check --show-trace && nix flake show && nix develop .#devShell\n\n- nix build .#default --print-build-logs\n- nix build .#spine-dmd --print-build-logs\n- nix build .#spine-ldc --print-build-logs\n- nix build .#spine-gdc --print-build-logs\n\n"; \
+ nix flake update && nix flake check --show-trace && nix flake show && nix develop .#devShell
+
+nix-build-default:
+ nix build .#default --print-build-logs
+
+nix-build-dmd:
+ nix build .#spine-dmd --print-build-logs
+
+nix-build-ldc:
+ nix build .#spine-ldc --print-build-logs
+
+nix-build-gdc:
+ nix build .#spine-gdc --print-build-logs
+
commands:
rg --color=always -B1 "^[a-z]\w+:" makefile | less