We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2f2a18 + 01d4d5b commit 75d60d7Copy full SHA for 75d60d7
source/pushing.rst
@@ -85,8 +85,14 @@ To push runtime closure of the default package in a Flake:
85
86
.. code:: shell-session
87
88
- $ nix build --json \
89
- | jq -r '.[].outputs | to_entries[].value' \
+ $ nix build --no-link --print-out-paths \
+ | cachix push mycache
90
+
91
+To push runtime closure of any set of packages in a Flake:
92
93
+.. code:: shell-session
94
95
+ $ nix build --no-link --print-out-paths .#package-a .#package-b \
96
| cachix push mycache
97
98
Note: to build all packages, leave a thumbs up on [#7165](https://github.com/NixOS/nix/issues/7165) issue.
0 commit comments