File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 9494 {
9595 pname ,
9696 meta ,
97+ passthru ? { } ,
9798 buildInputs ? [ ] ,
9899 libraryName ? pname ,
99100 libraryFile ? "${ libraryName } .agda-lib" ,
145146 meta = if meta . broken or false then meta // { hydraPlatforms = platforms . none ; } else meta ;
146147
147148 # Retrieve all packages from the finished package set that have the current package as a dependency and build them
148- passthru . tests = filterAttrs (
149- name : pkg : self . lib . isUnbrokenAgdaPackage pkg && elem pname ( map ( pkg : pkg . pname ) pkg . buildInputs )
150- ) self ;
149+ passthru = passthru // {
150+ tests =
151+ passthru . tests or { }
152+ // filterAttrs (
153+ name : pkg : self . lib . isUnbrokenAgdaPackage pkg && elem pname ( map ( pkg : pkg . pname ) pkg . buildInputs )
154+ ) self ;
155+ } ;
151156 } ;
152157in
153158{
You can’t perform that action at this time.
0 commit comments