Skip to content

Implement SSHStore on top of nix-daemon served over ssh - #997

Closed
shlevy wants to merge 8 commits into
NixOS:masterfrom
shlevy:nix-daemon-ssh
Closed

shlevy wants to merge 8 commits into
NixOS:masterfrom
shlevy:nix-daemon-ssh

Conversation

@shlevy

@shlevy shlevy commented Jul 25, 2016

Copy link
Copy Markdown
Member

Fixes #986

@shlevy

shlevy commented Jul 25, 2016

Copy link
Copy Markdown
Member Author

@edolstra ping, will merge this at the end of the week absent any issues

@domenkozar domenkozar added this to the perl-to-c++ milestone Jul 26, 2016
@edolstra

Copy link
Copy Markdown
Member

Please don't, I'll want to review this first.

@shlevy

shlevy commented Jul 26, 2016

Copy link
Copy Markdown
Member Author

OK, I'll count that as an issue 😄

@shlevy shlevy mentioned this pull request Aug 10, 2016
@shlevy

shlevy commented Aug 11, 2016

Copy link
Copy Markdown
Member Author

@edolstra Can you give me a time frame for reviewing this? It's the most controversial change in the perl->c++ work and if I'm going to have to redo build-remote without it I'd rather know sooner than later...

@shlevy

shlevy commented Aug 11, 2016

Copy link
Copy Markdown
Member Author

(erm, and nix-copy-closure)

@shlevy shlevy mentioned this pull request Aug 12, 2016
@shlevy

shlevy commented Aug 18, 2016

Copy link
Copy Markdown
Member Author

@edolstra Is there anything I can do to help get this reviewed? If I'm going to have to redo build-remote and nix-copy-closure without this it will be much easier now than in a few weeks (though still a pain now of course).

@edolstra

Copy link
Copy Markdown
Member

To reduce the churn in this PR and make it easier to review, could you not rename RemoteStore to DaemonStore? We can always rename things sensibly later...

Also, wrt build-remote, the use of a separate protocol allows the use of a forced SSH command to root where the client can only do a few operations (copying paths and starting builds). How would that work here?

@shlevy

shlevy commented Aug 31, 2016

Copy link
Copy Markdown
Member Author

OK, will do with the rename.

For build-remote, we could add a limited mode to the daemon? What do you think?

@edolstra

Copy link
Copy Markdown
Member

Yeah that would be good. It would probably suffice to add a flag that causes the daemon to use "nobody" as the connecting user name rather than using the uid of the calling user.

@shlevy

shlevy commented Sep 2, 2016

Copy link
Copy Markdown
Member Author

Replaced by #1053

@shlevy shlevy closed this Sep 2, 2016
Ma27 pushed a commit to Ma27/nix that referenced this pull request Mar 8, 2026
nix develop should ignore output checks in general.

This was done only for the old way of specifying output checks, the
structured attrs way requires rewriting the JSON and removing the output
checks pieces.

We take a brutal approach of removing as many as possible including
non-recommended ways of doing it.

Fixes NixOS#997.

Change-Id: Iaf83029016c71b5171e56e15d4eadc1a60a8be98
Signed-off-by: Raito Bezarius <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants