Merge pull request #187642 from NobbZ/berry-fix-version
berry: patch the version in the configure script
This commit is contained in:
commit
2021cc4e73
|
@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
|
||||||
freetype
|
freetype
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i --regexp-extended 's/(pkg_verstr=").*(")/\1${version}\2/' configure
|
||||||
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
patchShebangs configure
|
patchShebangs configure
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue