Re: [Nix-dev] How to use binaries from other hosts?
Worked for me, btw. On 14-03-2016 13:03:25, Matthias Beyer wrote: > That should be: > > sudo nix-store --import < example.closure > > (note the '<'). > > Worked perfectly. Where can I add documentation? > > On 14-03-2016 22:39:02, Brian McKenna wrote: > > That should be: > > > > sudo nix-store --import example.closure > > > > On 14 March 2016 at 22:35, Brian McKennawrote: > > > You can skip signature checking by using root: > > > > > > sudo nix-copy-closure --import example.closure > > > > > > I found this on the Nix issue tracker somewhere. It might not be > > > documented behaviour. > > > > > > On 14 March 2016 at 20:07, Matthias Beyer wrote: > > >> Hi, > > >> > > >> I'm on nixos unstable. As racket does not build and my thinkpad takes > > >> hours to > > >> build it, I got myself a debian VM in my university cloud and compiled > > >> racket > > >> there. > > >> > > >> How can I retrieve the closure from there? > > >> > > >> I tried _everything_. I cannot nix-copy-closure, as this one does not > > >> allow me > > >> to set the SSH port (which isn't 22 but something above 1). > > >> > > >> I tried to nix-store --export, copy via SCP and then nix-store --import, > > >> but it > > >> fails as the closure is not signed... > > >> > > >> Can someone please help me with this? > > >> > > >> I normally install racket with a nix-shell for my blog environment. I > > >> guess I > > >> should make this shell env persistent to be save of GC, though I cannot > > >> find > > >> documentation on how to _remove_ a persistent shell env... and I want to > > >> know > > >> how to remove it, before making it permanent. > > >> > > >> -- > > >> Mit freundlichen Grüßen, > > >> Kind regards, > > >> Matthias Beyer > > >> > > >> Proudly sent with mutt. > > >> Happily signed with gnupg. > > >> > > >> ___ > > >> nix-dev mailing list > > >> nix-dev@lists.science.uu.nl > > >> http://lists.science.uu.nl/mailman/listinfo/nix-dev > > >> > > -- > Mit freundlichen Grüßen, > Kind regards, > Matthias Beyer > > Proudly sent with mutt. > Happily signed with gnupg. > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev -- Mit freundlichen Grüßen, Kind regards, Matthias Beyer Proudly sent with mutt. Happily signed with gnupg. signature.asc Description: PGP signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] How to use binaries from other hosts?
That should be: sudo nix-store --import < example.closure (note the '<'). Worked perfectly. Where can I add documentation? On 14-03-2016 22:39:02, Brian McKenna wrote: > That should be: > > sudo nix-store --import example.closure > > On 14 March 2016 at 22:35, Brian McKennawrote: > > You can skip signature checking by using root: > > > > sudo nix-copy-closure --import example.closure > > > > I found this on the Nix issue tracker somewhere. It might not be > > documented behaviour. > > > > On 14 March 2016 at 20:07, Matthias Beyer wrote: > >> Hi, > >> > >> I'm on nixos unstable. As racket does not build and my thinkpad takes > >> hours to > >> build it, I got myself a debian VM in my university cloud and compiled > >> racket > >> there. > >> > >> How can I retrieve the closure from there? > >> > >> I tried _everything_. I cannot nix-copy-closure, as this one does not > >> allow me > >> to set the SSH port (which isn't 22 but something above 1). > >> > >> I tried to nix-store --export, copy via SCP and then nix-store --import, > >> but it > >> fails as the closure is not signed... > >> > >> Can someone please help me with this? > >> > >> I normally install racket with a nix-shell for my blog environment. I > >> guess I > >> should make this shell env persistent to be save of GC, though I cannot > >> find > >> documentation on how to _remove_ a persistent shell env... and I want to > >> know > >> how to remove it, before making it permanent. > >> > >> -- > >> Mit freundlichen Grüßen, > >> Kind regards, > >> Matthias Beyer > >> > >> Proudly sent with mutt. > >> Happily signed with gnupg. > >> > >> ___ > >> nix-dev mailing list > >> nix-dev@lists.science.uu.nl > >> http://lists.science.uu.nl/mailman/listinfo/nix-dev > >> -- Mit freundlichen Grüßen, Kind regards, Matthias Beyer Proudly sent with mutt. Happily signed with gnupg. signature.asc Description: PGP signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] How to use binaries from other hosts?
That should be: sudo nix-store --import example.closure On 14 March 2016 at 22:35, Brian McKennawrote: > You can skip signature checking by using root: > > sudo nix-copy-closure --import example.closure > > I found this on the Nix issue tracker somewhere. It might not be > documented behaviour. > > On 14 March 2016 at 20:07, Matthias Beyer wrote: >> Hi, >> >> I'm on nixos unstable. As racket does not build and my thinkpad takes hours >> to >> build it, I got myself a debian VM in my university cloud and compiled racket >> there. >> >> How can I retrieve the closure from there? >> >> I tried _everything_. I cannot nix-copy-closure, as this one does not allow >> me >> to set the SSH port (which isn't 22 but something above 1). >> >> I tried to nix-store --export, copy via SCP and then nix-store --import, but >> it >> fails as the closure is not signed... >> >> Can someone please help me with this? >> >> I normally install racket with a nix-shell for my blog environment. I guess I >> should make this shell env persistent to be save of GC, though I cannot find >> documentation on how to _remove_ a persistent shell env... and I want to know >> how to remove it, before making it permanent. >> >> -- >> Mit freundlichen Grüßen, >> Kind regards, >> Matthias Beyer >> >> Proudly sent with mutt. >> Happily signed with gnupg. >> >> ___ >> nix-dev mailing list >> nix-dev@lists.science.uu.nl >> http://lists.science.uu.nl/mailman/listinfo/nix-dev >> ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] How to use binaries from other hosts?
> I tried _everything_. I cannot nix-copy-closure, as this one does not allow me > to set the SSH port (which isn't 22 but something above 1). You can define any host / port matching through the configuration file "~/.ssh/config" for any program using SSH. Something like "" Host [youHost] port 1 """ should do the trick Adrien Le 14/03/2016 10:07, Matthias Beyer a écrit : > Hi, > > I'm on nixos unstable. As racket does not build and my thinkpad takes hours to > build it, I got myself a debian VM in my university cloud and compiled racket > there. > > How can I retrieve the closure from there? > > I tried _everything_. I cannot nix-copy-closure, as this one does not allow me > to set the SSH port (which isn't 22 but something above 1). > > I tried to nix-store --export, copy via SCP and then nix-store --import, but > it > fails as the closure is not signed... > > Can someone please help me with this? > > I normally install racket with a nix-shell for my blog environment. I guess I > should make this shell env persistent to be save of GC, though I cannot find > documentation on how to _remove_ a persistent shell env... and I want to know > how to remove it, before making it permanent. > > > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev signature.asc Description: OpenPGP digital signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] How to use binaries from other hosts?
On Mon, Mar 14, 2016 at 9:08 AM Matthias Beyerwrote: > Hi, > > I'm on nixos unstable. As racket does not build and my thinkpad takes > hours to > build it, I got myself a debian VM in my university cloud and compiled > racket > there. > > How can I retrieve the closure from there? > > I tried _everything_. I cannot nix-copy-closure, as this one does not > allow me > to set the SSH port (which isn't 22 but something above 1). > Can you change the port by adding an entry to .ssh/config? That should allow you to set the port, and I believe nix-copy-closure just calls SSH. You might need to use /etc/sshd/config, as I'm not sure what user it's actually making the ssh connection as. - ocharles ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] How to use binaries from other hosts?
Hi, I'm on nixos unstable. As racket does not build and my thinkpad takes hours to build it, I got myself a debian VM in my university cloud and compiled racket there. How can I retrieve the closure from there? I tried _everything_. I cannot nix-copy-closure, as this one does not allow me to set the SSH port (which isn't 22 but something above 1). I tried to nix-store --export, copy via SCP and then nix-store --import, but it fails as the closure is not signed... Can someone please help me with this? I normally install racket with a nix-shell for my blog environment. I guess I should make this shell env persistent to be save of GC, though I cannot find documentation on how to _remove_ a persistent shell env... and I want to know how to remove it, before making it permanent. -- Mit freundlichen Grüßen, Kind regards, Matthias Beyer Proudly sent with mutt. Happily signed with gnupg. signature.asc Description: PGP signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev