diff options
Diffstat (limited to 'nix-overlays/dub/package.nix')
-rw-r--r-- | nix-overlays/dub/package.nix | 22 |
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 |