diff --git a/pkgs/development/compilers/ghdl/default.nix b/pkgs/development/compilers/ghdl/default.nix index 266ee97a2e90a..758b04a7101e7 100644 --- a/pkgs/development/compilers/ghdl/default.nix +++ b/pkgs/development/compilers/ghdl/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, fetchpatch, callPackage, gnat, zlib, llvm, lib +{ stdenv, fetchFromGitHub, fetchpatch, callPackage, gnat11, zlib, llvm, lib , backend ? "mcode" }: assert backend == "mcode" || backend == "llvm"; @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { LIBRARY_PATH = "${stdenv.cc.libc}/lib"; - buildInputs = [ gnat zlib ] ++ lib.optional (backend == "llvm") [ llvm ]; + buildInputs = [ gnat11 zlib ] ++ lib.optional (backend == "llvm") [ llvm ]; propagatedBuildInputs = lib.optionals (backend == "llvm") [ zlib ]; preConfigure = ''