Skip to content

Commit

Permalink
ghdl: use gnat11 to unbreak build (#184352)
Browse files Browse the repository at this point in the history
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
  • Loading branch information
Adam Joseph and SuperSandro2000 authored Aug 3, 2022
1 parent ac61a64 commit 22a0a21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/compilers/ghdl/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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 = ''
Expand Down

0 comments on commit 22a0a21

Please sign in to comment.