File tree Expand file tree Collapse file tree 1 file changed +19
-16
lines changed Expand file tree Collapse file tree 1 file changed +19
-16
lines changed Original file line number Diff line number Diff line change 56
56
echo "${ name } " >> $out/nix-support/hydra-release-name
57
57
'' ;
58
58
in
59
- lib . recursiveUpdate
60
- project . flake'
61
- (
62
- lib . optionalAttrs ( system == "x86_64-linux" )
63
- {
64
- hydraJobs . binary-tarball = mkTarball
65
- project . projectCross . musl64 . hsPkgs . nix-tools ;
66
- }
67
- //
68
- lib . optionalAttrs ( system == "aarch64-linux" )
69
- {
70
- hydraJobs . binary-tarball = mkTarball
71
- project . projectCross . aarch64-multiplatform-musl . hsPkgs . nix-tools ;
72
- }
73
- )
74
- ) ;
59
+ builtins . foldl' lib . recursiveUpdate { } [
60
+ {
61
+ inherit ( project . flake' ) "checks" "ciJobs" "devShells" "hydraJobs" ;
62
+ packages =
63
+ lib . mapAttrs'
64
+ ( n : v : { name = v . exeName ; value = v ; } )
65
+ project . flake' . packages ;
66
+ }
67
+ ( lib . optionalAttrs ( system == "x86_64-linux" )
68
+ {
69
+ hydraJobs . binary-tarball =
70
+ mkTarball project . projectCross . musl64 . hsPkgs . nix-tools ;
71
+ } )
72
+ ( lib . optionalAttrs ( system == "aarch64-linux" )
73
+ {
74
+ hydraJobs . binary-tarball =
75
+ mkTarball project . projectCross . aarch64-multiplatform-musl . hsPkgs . nix-tools ;
76
+ } )
77
+ ] ) ;
75
78
76
79
nixConfig = {
77
80
extra-substituters = [
You can’t perform that action at this time.
0 commit comments