3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #238663 from jiegec/fix-spark2014

spark2014: do not hardcode gnat12 version
This commit is contained in:
Nick Cao 2023-06-20 01:14:06 -06:00 committed by GitHub
commit 3def2fb700
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = ''