buildDartApplication: Declare dependency sources as build inputs

This commit is contained in:
hacker1024 2023-10-29 00:13:35 +11:00 committed by FlafyDev
parent 18d9cd0c50
commit 48bf6da955

View File

@ -112,6 +112,10 @@ let
darwin.sigtool darwin.sigtool
]; ];
buildInputs =
# Ensure that we inherit the propagated build inputs from the dependencies.
builtins.attrValues pubspecLockData.dependencySources;
preConfigure = args.preConfigure or "" + '' preConfigure = args.preConfigure or "" + ''
ln -sf "$pubspecLockFilePath" pubspec.lock ln -sf "$pubspecLockFilePath" pubspec.lock
''; '';