mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
buildDartApplication: Declare dependency sources as build inputs
This commit is contained in:
parent
18d9cd0c50
commit
48bf6da955
@ -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
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user