spark2014: do not hardcode gnat12 version

Fixes #238644
This commit is contained in:
Jiajie Chen 2023-06-20 08:46:45 +08:00
parent 991c60a231
commit 4cd14d5a7e

View File

@ -44,8 +44,8 @@ stdenv.mkDerivation rec {
postPatch = ''
# gnat2why/gnat_src points to the GNAT sources
tar xf ${gnat12.cc.src} gcc-12.2.0/gcc/ada
mv gcc-12.2.0/gcc/ada gnat2why/gnat_src
tar xf ${gnat12.cc.src} gcc-${gnat12.cc.version}/gcc/ada
mv gcc-${gnat12.cc.version}/gcc/ada gnat2why/gnat_src
'';
configurePhase = ''