From 794d821503b57c4e38d7b286afb8958cc61ae64d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 25 Apr 2023 23:51:22 +0100 Subject: [PATCH] dmd: pull in missing libgcc.so dependency Without the change autopatchelf fails to find the dependency as: searching for dependencies of ...-dmd-bootstrap-2.090.1/bin/dmd libgcc_s.so.1 -> not found! auto-patchelf: 6 dependencies could not be satisfied Full build log: https://hydra.nixos.org/log/plma45m19p0cm1i04c4qzmfi54n38ydk-dmd-bootstrap-2.090.1.drv --- pkgs/development/compilers/dmd/binary.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/dmd/binary.nix b/pkgs/development/compilers/dmd/binary.nix index b7f7755d057e7..6a99d42eff729 100644 --- a/pkgs/development/compilers/dmd/binary.nix +++ b/pkgs/development/compilers/dmd/binary.nix @@ -28,6 +28,7 @@ in stdenv.mkDerivation { tzdata ] ++ lib.optionals hostPlatform.isLinux [ glibc + stdenv.cc.cc.libgcc ]; installPhase = ''