Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Allow arbitrary remapping of URL prefixes #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

charles-dyfis-net
Copy link

Alternative to #17 that isn't specific to github.com

@tomberek
Copy link

tomberek commented Apr 3, 2020

I've had luck with this to get a build working on a single machine, but then the build fails on other machines with:

exporting ssh://[email protected]/someplace/go-project.git (rev v1.1.2) into /nix/store/x3hx74y89yniq9k5qpzjr4yykmbypyzv-go-cryptoservice
Initialized empty Git repository in /nix/store/x3hx74y89yniq9k5qpzjr4yykmbypyzv-go-project/.git/
Could not create directory '/var/empty/.ssh'.
Host key verification failed.
fatal: Could not read from remote repository.

which seems to happen on NixOS or multi-user installs. This occurs even if the derivation is in a binary store.

@charles-dyfis-net
Copy link
Author

To address that conclusively, we'd need to implement #29, to be able to switch to Nix 2.0's fetchGit (which performs the fetch as the invoking user).

@SuperSandro2000
Copy link
Member

@charles-dyfis-net Is this still required after the recent changes?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants