Merge pull request #187735 from NixOS/backport-187642-to-release-22.05

[Backport release-22.05]  berry: patch the version in the configure script
This commit is contained in:
Anderson Torres
2022-08-21 12:11:00 -03:00
committed by GitHub

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