summaryrefslogtreecommitdiffhomepage
path: root/nix-overlays/dub
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2025-03-22 12:29:04 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2025-03-22 12:57:03 -0400
commit39b16223937fa3fc8da80495a25d7397712b8bae (patch)
treedff0c37c726c59140abf792a11c3892ff3a2d9c9 /nix-overlays/dub
parentldc-1.40.1 (based on D 2.110.0) - overlay (diff)
overlay updates (dub-1.39.0, dtools-2.110.0)HEADmain
Diffstat (limited to 'nix-overlays/dub')
-rw-r--r--nix-overlays/dub/package.nix22
1 files changed, 12 insertions, 10 deletions
diff --git a/nix-overlays/dub/package.nix b/nix-overlays/dub/package.nix
index f13adec..b537a43 100644
--- a/nix-overlays/dub/package.nix
+++ b/nix-overlays/dub/package.nix
@@ -1,18 +1,19 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-, curl
-, ldc
-, dcompiler ? ldc
-, libevent
-, rsync
+{
+ lib,
+ stdenv,
+ fetchFromGitHub,
+ curl,
+ ldc,
+ dcompiler ? ldc,
+ libevent,
+ rsync,
}:
assert dcompiler != null;
stdenv.mkDerivation (finalAttrs: {
pname = "dub";
- version = "1.38.1";
+ version = "1.39.0";
enableParallelBuilding = true;
@@ -20,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "dlang";
repo = "dub";
rev = "v${finalAttrs.version}";
- hash = "sha256-8Lr/0sx4SKwU1aNOxZArta0RXpDM+EWl29ZsPDdPWFo=";
+ hash = "sha256-73b15A9+hClD6IbuxTy9QZKpTKjUFYBuqGOclUyhrnM=";
};
postPatch = ''
@@ -38,6 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
break
fi
done
+ #export DMD=${ldc}/bin/ldmd2
if [ "$DC" == "" ]; then
exit "Error: could not find D compiler"
fi