Robert Hensing

Results 912 comments of Robert Hensing

@kip93 I think your question was directed towards @b-camacho, but I'd like to add that we would welcome and support anyone who'd like to work on this. Feel free to...

Oh, I don't think shelling out was such a big deal because we can verify the correctness of the result, kind of like how fixed output derivations are allowed to...

To a very large degree we've done so. Since #9240 we're using libgit2 so that we use significantly fewer git behaviors by default, such as the overly open ended smudge...

> right way to run the e2e nixos tests: `nix build --impure '.#hydraJobs.tests.fetch-git' --show-trace` ? Yes. > I keep seeing failures in `tests/functional/tarball.sh` The VM tests depend on the `nix`...

I'm not sure if `_HOME` is the right suffix here. I think `_HOME` in XDG is meant to refer to a replacement of the role `$HOME` used to play for...

I didn't realise the names collided. Sorry for the red herring. > `NIX_USER_CACHE_DIR` Also reasonable. I think I'm fine with either of your proposed naming schemes.

> Fun fact: glibc does not survive CA-derivation transformation: ld-linux.so has the code that does memcmp("/nix/store/path", p, N) and gcc transforms that into a sequence of movabs $part1, %rax; xorq...

It seems feasible to implement looser rules than what seems to be implemented in libgit2, but we should also consider the possibility that this is a libgit2 bug, as the...

> running `git config --global --add safe.directory "$(pwd)"` seems a fine workaround IIUC this should be run _as root_, e.g: ```bash cd /path/to/flake sudo git config --global --add safe.directory "$PWD"...