add command
This commit is contained in:
parent
34e5656224
commit
cbac3c2eab
1 changed files with 5 additions and 0 deletions
|
|
@ -1,2 +1,7 @@
|
|||
# get-nix-sources
|
||||
|
||||
'''hash
|
||||
nix-instantiate "<nixpkgs>" -A hello | xargs nix-store --query -R | grep '\.drv' | xargs nix derivation --extra-experimental-features nix-command show | jq 'to_entries[] | select( (.value.outputs | type == "object") and (.value.outputs | to_entries | all(.value | has("hash"))) and (.value.outputs | to_entries | length > 0)) | .key'
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue