bass loop

Runs

JSON

{"image":{"thunk":{"image":{"thunk":{"image":{"thunk":{"image":{"thunk":{"image":{"thunk":{"image":{"ref":{"repository":"nixos/nix","platform":{"os":"linux"},"tag":"latest","digest":"sha256:c6c9e6bf8d2d87877ef931bbf5c350d84ac114e33a4abacc3f2e51dcbed25ea1"}},"cmd":{"command":{"name":"cp"}},"args":[{"string":{"value":"-anT"}},{"dirPath":{"path":"/nix"}},{"dirPath":{"path":"/cache"}}],"mounts":[{"source":{"cache":{"id":"nix-cache:nixos/nix:latest@sha256:c6c9e6bf8d2d87877ef931bbf5c350d84ac114e33a4abacc3f2e51dcbed25ea1","path":{"dir":{"path":"."}}}},"target":{"dir":{"path":"/cache"}}}]}},"cmd":{"command":{"name":"sh"}},"args":[{"string":{"value":"-c"}},{"string":{"value":"echo accept-flake-config = true >> /etc/nix/nix.conf"}}],"mounts":[{"source":{"cache":{"id":"nix-cache:nixos/nix:latest@sha256:c6c9e6bf8d2d87877ef931bbf5c350d84ac114e33a4abacc3f2e51dcbed25ea1","path":{"dir":{"path":"."}}}},"target":{"dir":{"path":"/nix"}}}]}},"cmd":{"command":{"name":"sh"}},"args":[{"string":{"value":"-c"}},{"string":{"value":"echo experimental-features = nix-command flakes >> /etc/nix/nix.conf"}}],"mounts":[{"source":{"cache":{"id":"nix-cache:nixos/nix:latest@sha256:c6c9e6bf8d2d87877ef931bbf5c350d84ac114e33a4abacc3f2e51dcbed25ea1","path":{"dir":{"path":"."}}}},"target":{"dir":{"path":"/nix"}}}]}},"cmd":{"command":{"name":"nix"}},"args":[{"string":{"value":"flake"}},{"string":{"value":"metadata"}}],"mounts":[{"source":{"cache":{"id":"nix-cache:nixos/nix:latest@sha256:c6c9e6bf8d2d87877ef931bbf5c350d84ac114e33a4abacc3f2e51dcbed25ea1","path":{"dir":{"path":"."}}}},"target":{"dir":{"path":"/nix"}}},{"source":{"thunk":{"thunk":{"image":{"thunk":{"image":{"thunk":{"image":{"thunk":{"image":{"ref":{"repository":"alpine/git","platform":{"os":"linux"},"tag":"latest","digest":"sha256:7b9c96bea8268579e925b17170ae208788e90d508ec334421384913ba61cd610"}},"cmd":{"command":{"name":"git"}},"args":[{"string":{"value":"clone"}},{"string":{"value":"https://github.com/vito/bass.git"}},{"dirPath":{"path":"."}}]}},"cmd":{"command":{"name":"git"}},"args":[{"string":{"value":"fetch"}},{"string":{"value":"origin"}},{"string":{"value":"0b27efaa73b5cb53b032137567612bbac23527ed"}}]}},"cmd":{"command":{"name":"git"}},"args":[{"string":{"value":"checkout"}},{"string":{"value":"0b27efaa73b5cb53b032137567612bbac23527ed"}}]}},"cmd":{"command":{"name":"git"}},"args":[{"string":{"value":"submodule"}},{"string":{"value":"update"}},{"string":{"value":"--init"}},{"string":{"value":"--recursive"}}]},"path":{"dir":{"path":"."}}}},"target":{"dir":{"path":"."}}}]}},"cmd":{"command":{"name":"nix"}},"args":[{"string":{"value":"flake"}},{"string":{"value":"check"}}],"mounts":[{"source":{"cache":{"id":"nix-cache:nixos/nix:latest@sha256:c6c9e6bf8d2d87877ef931bbf5c350d84ac114e33a4abacc3f2e51dcbed25ea1","path":{"dir":{"path":"."}}}},"target":{"dir":{"path":"/nix"}}}]}},"cmd":{"command":{"name":"nix"}},"args":[{"string":{"value":"build"}}],"mounts":[{"source":{"cache":{"id":"nix-cache:nixos/nix:latest@sha256:c6c9e6bf8d2d87877ef931bbf5c350d84ac114e33a4abacc3f2e51dcbed25ea1","path":{"dir":{"path":"."}}}},"target":{"dir":{"path":"/nix"}}}]}