Handle private inputs #46
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: tristan/nixinate#46
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Just switching to nixinate and run into some minor problem. I use inputs which are private and prefer
buildOn = remote
.This results (of course) in an exeption "Permission Denied".
A fix at the moment for me is to run :
But it would be to have a more convenient way right in the
flake.nix
to do this.(of course coping every input makes no sense).
Alternatively I'll create a pull request describing this problem an a proper solution in the README.md or something (if wanted of course).
Is it really harmful to copy every input? Assuming they're used, they will get pulled by the remote either way. Copying them first just shifts the point in time where the remote receives that input in its store?
No it's not harmful. I'm with copying every flake input.
Another option is to use ssh-agent, which does not require modifying nixinate
That has two disadvantages as opposed to pre-fetching and pushing the inputs:
I was really glad to find this, here is my nushell adapted version (for those that it might help)
or the script for all the inputs
I do agree that it would be nice to have this taken care of automatically, but it might be hard to do it for every shells.
Closed due to fork migartion, feel free to reopen.