flutter.buildFlutterApplication: Supply package metadata to overrides

This commit is contained in:
hacker1024 2023-04-17 14:40:18 +10:00
parent 0495725a1f
commit 37e93f7c3b

View File

@ -115,7 +115,16 @@ in
builtins.foldl'
(prev: package:
if packageOverrideRepository ? ${package.name}
then prev.overrideAttrs packageOverrideRepository.${package.name}
then
prev.overrideAttrs
(packageOverrideRepository.${package.name} {
inherit (package)
name
version
kind
source
dependencies;
})
else prev)
baseDerivation
productPackages