mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-17 12:50:04 +00:00
rPackages.cn_farms: fix build
This commit is contained in:
@@ -1787,6 +1787,15 @@ let
|
||||
'';
|
||||
});
|
||||
|
||||
cn_farms = old.cn_farms.overrideAttrs (attrs: {
|
||||
postPatch = ''
|
||||
# https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/01/08#n2025-01-08
|
||||
substituteInPlace "src/sparse_farms.c" \
|
||||
--replace-fail "Calloc" "R_Calloc" \
|
||||
--replace-fail "Free" "R_Free"
|
||||
'';
|
||||
});
|
||||
|
||||
PICS = old.PICS.overrideAttrs (attrs: {
|
||||
postPatch = ''
|
||||
# https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/01/08#n2025-01-08
|
||||
|
||||
Reference in New Issue
Block a user