about summary refs log tree commit diff
path: root/tools/nixery/go-deps.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-11T19·10+0100
committerVincent Ambo <github@tazj.in>2019-08-13T23·02+0100
commit590ce994bb18b15c9b654c2aa426866750c3c494 (patch)
treeb72c1cb3cfc406051be951197a5194f3673b4fa1 /tools/nixery/go-deps.nix
parent92078527dbe8f853d984a4038e718c662c016741 (diff)
feat(group-layers): Add initial popcount scripts
This script generates an entry in a text file for each time a
derivation is referred to by another in nixpkgs.

For initial testing, this output can be turned into group-layers
compatible JSON with this *trivial* invocation:

cat output | awk '{ print "{\"" $2 "\":" $1 "}"}' | jq -s '. | add | with_entries(.key |= sub("/nix/store/[a-z0-9]+-";""))' > test-data.json
Diffstat (limited to 'tools/nixery/go-deps.nix')
0 files changed, 0 insertions, 0 deletions