add command

This commit is contained in:
Osman Faruk Bayram 2025-06-21 16:11:03 +03:00
parent 34e5656224
commit cbac3c2eab

View file

@ -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'
'''