Skip to content

Commit

Permalink
DMD to provide libphobos2.so.x.y
Browse files Browse the repository at this point in the history
(cherry picked from commit 3f634dd)
  • Loading branch information
tex authored and Mic92 committed Jan 21, 2019
1 parent c2b2843 commit f3b123e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkgs/development/compilers/dmd/default.nix
Expand Up @@ -121,8 +121,6 @@ let
cd ..
'';

extension = if stdenv.hostPlatform.isDarwin then "a" else "{a,so}";

dontStrip = true;

installPhase = ''
Expand All @@ -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
Expand Down

0 comments on commit f3b123e

Please sign in to comment.