HomeSoftware Heritage

nixguix: Make nar ignore .git folder like the guix hash command

Description

nixguix: Make nar ignore .git folder like the guix hash command

$ guix hash -S nar -f base32 -H sha256 -x guix-modules
bd4jxucj7hqpvjv5646rxehevbia6gnym7y4kebj4cm3eugdwpma
$ python -m nar -f base32 -H sha256 guix-modules
bd4jxucj7hqpvjv5646rxehevbia6gnym7y4kebj4cm3eugdwpma====
$ guix hash -S nar -f base32 -H sha256 -x ~/repo/public/linux
o3kzi5wtzct2roz4hprvmosv6te43kt5ha6vzefk2mmr5fybm2ua
$ python -m nar -f base32 -H sha256 ~/repo/public/linux
o3kzi5wtzct2roz4hprvmosv6te43kt5ha6vzefk2mmr5fybm2ua====

Related to T4538#93319

Details

Provenance
ardumontAuthored on Oct 21 2022, 12:02 PM
ardumontPushed on Oct 21 2022, 12:16 PM
Parents
rDSNIPd50f518335ee: nixguix: Make nar cli consistent with guix hash cli interface
Branches
Unknown
Tags
Unknown