File tree Expand file tree Collapse file tree 2 files changed +11
-20
lines changed
Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Original file line number Diff line number Diff line change 2727 " uses " : " DeterminateSystems/magic-nix-cache-action@main"
2828 },
2929 {
30- " run " : " nix develop --accept-flake-config --override-input dendrix . --print-build-logs ./dev -c pins update"
31- },
32- {
33- " run " : " rm -rf ./dev/community/discovered/"
34- },
35- {
36- " run " : " nix develop --accept-flake-config --override-input dendrix . --print-build-logs ./dev -c discover"
37- },
38- {
39- " run " : " nix flake --accept-flake-config check path:dev --override-input dendrix . --print-build-logs"
30+ " run " : " set -e\n nix develop --accept-flake-config --override-input dendrix . --print-build-logs ./dev -c pins update\n rm -rf ./dev/community/discovered/\n echo '{}' > ./dev/community/discovered/trees.json\n echo '{ dendrix.discover-community-aspects = true; }' > ./dev/modules/enable-discovery.nix\n nix develop --accept-flake-config --override-input dendrix . --print-build-logs ./dev -c files\n rm ./dev/modules/enable-discovery.nix\n nix flake --accept-flake-config check path:dev --override-input dendrix . --print-build-logs\n "
4031 },
4132 {
4233 " id " : " update" ,
Original file line number Diff line number Diff line change 3636 runs-on = "ubuntu-latest" ;
3737 steps = ( import ./_gh-provision-nix.nix ) ++ [
3838 {
39- run = "nix develop --accept-flake-config --override-input dendrix . --print-build-logs ./dev -c pins update" ;
40- }
41- {
42- run = " rm -rf ./dev/community/discovered/" ;
43- }
44- {
45- run = " nix develop --accept-flake-config --override-input dendrix . --print-build-logs ./dev -c discover" ;
46- }
47- {
48- run = "nix flake --accept-flake-config check path:dev --override-input dendrix . --print-build-logs" ;
39+ run = ''
40+ set -e
41+ nix develop --accept-flake-config --override-input dendrix . --print-build-logs ./dev -c pins update
42+ rm -rf ./dev/community/discovered/
43+ echo '{}' > ./dev/community/discovered/trees.json
44+ echo '{ dendrix.discover-community-aspects = true; }' > ./dev/modules/enable-discovery.nix
45+ nix develop --accept-flake-config --override-input dendrix . --print-build-logs ./dev -c files
46+ rm ./dev/modules/enable-discovery.nix
47+ nix flake --accept-flake-config check path:dev --override-input dendrix . --print-build-logs
48+ '' ;
4949 }
5050 {
5151 id = "update" ;
You can’t perform that action at this time.
0 commit comments