Deployment and lifecycle management for Nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

seed-ci: use the cache flags we made

+7 -4
+7 -4
bin/seed-ci
··· 86 86 87 87 $configs | reduce --fold [] { |c, acc| 88 88 let built_targets = $c.targets | filter { |t| $t.build != null } | get build | flatten 89 - let build_dependencies = $built_targets | get drvPath | each { |drv| 90 - nix-store --query --requisites --include-outputs $drv | lines 91 - } | flatten 92 - $acc ++ ( $built_targets | get outputs.out ) ++ $build_dependencies ++ ( get-flake-inputs | get outPath ) 89 + let build_dependencies = if $cache_build_deps { 90 + $built_targets | get drvPath | each { |drv| 91 + nix-store --query --requisites --include-outputs $drv | lines 92 + } | flatten 93 + } else { [] } 94 + let inputs = if $cache_inputs { get-flake-inputs | get outPath } else { [] } 95 + $acc ++ ( $built_targets | get outputs.out ) ++ $build_dependencies ++ $inputs 93 96 } | attic-upload $attic_cache 94 97 95 98 $configs