From 3f634dd88c8794319ef1e4ac692ea0687c46d8c4 Mon Sep 17 00:00:00 2001 From: Milan Svoboda Date: Sun, 13 Jan 2019 18:26:01 +0100 Subject: [PATCH] DMD to provide libphobos2.so.x.y --- pkgs/development/compilers/dmd/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/compilers/dmd/default.nix b/pkgs/development/compilers/dmd/default.nix index 90e5cfe74119..484833ffe734 100644 --- a/pkgs/development/compilers/dmd/default.nix +++ b/pkgs/development/compilers/dmd/default.nix @@ -121,8 +121,6 @@ let cd .. ''; - extension = if stdenv.hostPlatform.isDarwin then "a" else "{a,so}"; - dontStrip = true; installPhase = '' @@ -143,7 +141,7 @@ let cd ../phobos mkdir $out/lib - cp generated/${osname}/release/${bits}/libphobos2.${extension} $out/lib + cp generated/${osname}/release/${bits}/libphobos2.* $out/lib cp -r std $out/include/d2 cp -r etc $out/include/d2