Skip to content

Commit

Permalink
doc: How to push runtime closure
Browse files Browse the repository at this point in the history
  • Loading branch information
wagdav committed Aug 4, 2024
1 parent 26fe213 commit b973767
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,16 @@ $ nix eval .#nixosConfigurations.nuc.config.networking.firewall.allowedTCPPorts
9093 9100 9883 ]
```

Push a [runtime closure](https://docs.cachix.org/pushing#pushing-runtime-closure)
of a locally built derivation to Cachix:

```
export CACHIX_AUTH_TOKEN=...
nix build -L --json .#nixosConfigurations.rp3.config.system.build.toplevel \
| nix run nixpkgs#jq -- -r '.[].outputs | to_entries[].value'
| nix run nixpkgs#cachix -- push wagdav
```

## Router

Linksys WRT ACM-3200 running OpenWRT.
Expand Down

0 comments on commit b973767

Please sign in to comment.