mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
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:
@@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
|
||||
freetype
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i --regexp-extended 's/(pkg_verstr=").*(")/\1${version}\2/' configure
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs configure
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user