Created
November 23, 2021 02:32
-
-
Save SkamDart/b914402efd16e62694ae1df97449a17e to your computer and use it in GitHub Desktop.
Nix flakes build all outputs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nix flake show --json | jq '[leaf_paths as $path | select(getpath($path) == "derivation") | {"key": $path | join(".") | sub(".type";""), "value": getpath($path)}] | from_entries | keys|.[]' -cr | xargs -I{} nix build .#{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment