<clever>
Profpatsch: because every file in .links is named after a hash of its contents, you can just cat the file volth pasted, and see its contents on your own machine
<Profpatsch>
Oh, birthday paradox. Nice.
Lisanna has joined #nixos-dev
<clever>
Profpatsch: no worse then /nix/store paths, the storepaths are based on a TRUNCATED hash
<Profpatsch>
ahaha, i see.
<Profpatsch>
Is this better with other file systems?
<Profpatsch>
In the worst case there’s always prefix trees :P
<clever>
zfs dedup has 2 modes, on, and verify
<clever>
verify will compare blocks when the hashes match up, for the paranoid
<clever>
on just trusts that a birthday paradox hasnt occured
<clever>
FRidh: looks like it is, thats already in use in 3 hooks
<domenkozar>
peti: can you share the sed script?
<peti>
For turning a Hydra page into configuration-hackage2nix.yaml file?
<domenkozar>
yeah
pie_ has joined #nixos-dev
<peti>
domenkozar: I am sorry. I would share the script if I had something to share but I acually haven't automated that part. I use a trivial search-and-replace command in Emacs, but I just enter manually when I need it.
<peti>
domenkozar: Basicallly, replace "^.*haskellPackages\." with " " and ".x86_64-linux.*$" with ": [ i686-linux, x86_64-linux, x86_64-darwin ]".
PeterHoeg[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
nocent[m] has left #nixos-dev ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
FRidh has quit [Quit: Konversation terminated!]
__Sander__ has quit [Quit: Konversation terminated!]
<domenkozar>
peti: that's fair, thanks :)
pie_ has quit [Ping timeout: 264 seconds]
<aminechikhaoui>
copumpkin: I remember you mentioned you're using 5th generation EC2 instances without issues, looks like there was no AMI created with this fix https://github.com/NixOS/nixpkgs/pull/39164 ?
<clever>
Profpatsch: nix only uses the first 160 bits of a sha256 when generating storepaths
<clever>
Profpatsch: that hash also includes the name at the end of the path, so even if you can collide a given hash, you need to know the target before you start your collision finder
vcunat has quit [Ping timeout: 260 seconds]
<Profpatsch>
+2
ixxie has joined #nixos-dev
Sonarpulse has quit [Ping timeout: 265 seconds]
Sonarpulse has joined #nixos-dev
Sonarpulse has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos-dev
FRidh has joined #nixos-dev
ixxie has quit [Ping timeout: 268 seconds]
<domenkozar>
peti: I've pushed a commit that removes all soft build constraints
<domenkozar>
can you rerun your script?
<domenkozar>
force pushes will be tricky with multiple people collaborating