Merge pull request #218070 from K900/fix-r-eval

r-modules: fix eval
This commit is contained in:
K900 2023-02-24 22:59:24 +03:00 committed by GitHub
commit 5798b8c569
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,8 +154,8 @@ let
overrideRDepends = overrides: old:
lib.mapAttrs (name: value:
(builtins.getAttr name old).overrideAttrs (attrs: {
nativeBuildInputs = attrs.nativeBuildInputs ++ value;
propagatedNativeBuildInputs = attrs.propagatedNativeBuildInputs ++ value;
nativeBuildInputs = (attrs.nativeBuildInputs or []) ++ value;
propagatedNativeBuildInputs = (attrs.propagatedNativeBuildInputs or []) ++ value;
})
) overrides;