Merge pull request #187642 from NobbZ/berry-fix-version

berry: patch the version in the configure script
This commit is contained in:
Anderson Torres 2022-08-21 09:07:48 -03:00 committed by GitHub
commit 2021cc4e73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
freetype
];
postPatch = ''
sed -i --regexp-extended 's/(pkg_verstr=").*(")/\1${version}\2/' configure
'';
preConfigure = ''
patchShebangs configure
'';