aboutsummaryrefslogtreecommitdiffhomepage
path: root/nix-overlays
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-05-04 11:46:57 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-05-04 12:12:12 -0400
commitc81bb010f45b732f97d7fbecd812ecae28f2be7d (patch)
tree95426923e35b368682db19ff33c40e411cda0835 /nix-overlays
parentorg/ out of sync with ./src (sync) (diff)
org headers rearranged (& odd hilighting issue)HEADmain
- odd hilighting issue ... must result from my org config, but "fix" makes things easier for me.
Diffstat (limited to 'nix-overlays')
-rw-r--r--nix-overlays/dtools/disabled-tests.diff2
-rw-r--r--nix-overlays/dtools/fix-ldc-arm64.diff8
2 files changed, 5 insertions, 5 deletions
diff --git a/nix-overlays/dtools/disabled-tests.diff b/nix-overlays/dtools/disabled-tests.diff
index a22825a..79eb1cb 100644
--- a/nix-overlays/dtools/disabled-tests.diff
+++ b/nix-overlays/dtools/disabled-tests.diff
@@ -3,7 +3,7 @@
@@ -616,7 +616,7 @@ void runTests(string rdmdApp, string compiler, string model)
enforce(res.status == 1, res.output);
}
-
+
- version (Posix)
+ version (none)
{
diff --git a/nix-overlays/dtools/fix-ldc-arm64.diff b/nix-overlays/dtools/fix-ldc-arm64.diff
index 66eaa22..1c650a6 100644
--- a/nix-overlays/dtools/fix-ldc-arm64.diff
+++ b/nix-overlays/dtools/fix-ldc-arm64.diff
@@ -82,21 +82,21 @@ Adapted from https://github.com/dlang/tools/commit/6c6a042d1b08e3ec1790bd07a7f69
@@ -9,9 +9,8 @@ DUB=dub
WITH_DOC = no
DOC = ../dlang.org
-
+
-# Load operating system $(OS) (e.g. linux, osx, ...) and $(MODEL) (e.g. 32, 64) detection Makefile from dmd
-$(shell [ ! -d $(DMD_DIR) ] && git clone --depth=1 https://github.com/dlang/dmd $(DMD_DIR))
-include $(DMD_DIR)/compiler/src/osmodel.mak
+# Load operating system $(OS) (e.g. linux, osx, ...) and $(MODEL) (e.g. 32, 64) detection Makefile
+include osmodel.mak
-
+
ifeq (windows,$(OS))
DOTEXE:=.exe
@@ -30,7 +29,7 @@ DFLAGS = $(MODEL_FLAG) $(if $(findstring windows,$(OS)),,-fPIC) -preview=dip1000
DFLAGS += $(WARNINGS)
-
+
# Default DUB flags (DUB uses a different architecture format)
-DUBFLAGS = --arch=$(subst 32,x86,$(subst 64,x86_64,$(MODEL)))
+DUBFLAGS = --arch=$(ARCH)
-
+
TOOLS = \
$(ROOT)/catdoc$(DOTEXE) \