Created
October 11, 2023 07:00
-
-
Save dfrankland/16cb91ba106330f1d7e274fa45245738 to your computer and use it in GitHub Desktop.
An example of getting all outputs of a nix derivation
This file contains hidden or 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
#!/bin/bash | |
nix derivation show nixpkgs#zstd | jq 'to_entries[].value.outputs' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment