Open bennofs opened 7 years ago
Perhaps the file names should just be base64-encoded?
There are two packages indeed :)
@bennofs curious, what are you working on?
@domenkozar
I'm working on nixpkgs-locate. Example:
d-cube:/c/nixpkgs-locate (master ⚡=) result/bin/locate -r -d out.fr 'locate$'
armagetronad.out:/share/games/armagetronad/scripts/relocate
expect.out:/bin/dislocate
findutils.out:/bin/locate
freeipmi.out:/bin/ipmi-locate
emscripten.out:/share/emscripten/system/include/libcxx/__undef___deallocate
libcxx.out:/include/c++/v1/__undef___deallocate
mlocate.out:/bin/locate
eject.bin:/bin/fallocate
eject.out:/share/bash-completion/completions/fallocate
libuuid.bin:/bin/fallocate
Oh me too! Currently have a restful api at https://github.com/Enlambda/nix-channelstatus
Given the rarity of such paths, it might be easiest to just filter them out.
This is implemented in Nix BTW, not Hydra (https://github.com/NixOS/nix/blob/master/src/libstore/binary-cache-store.cc#L174).
For example:
Note the
e5
byte, which is not a valid unicode character and thus should be escaped.