mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
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
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i --regexp-extended 's/(pkg_verstr=").*(")/\1${version}\2/' configure
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs configure
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user