[Nix-dev] HP Network Printer (CUPS + HPLIP)

2016-03-14 Thread Sergiu Ivanov
Hello, I'm trying to set up CUPS to use a HP LaserJet Enterprise 600 M602 [0] on my NixOS system. Here is the relevant snippet of my configuration.nix (taken from the wiki [1]): services.printing = { enable = true; drivers = [ pkgs.hplip ]; }; hp-setup does not detect the printer

Re: [Nix-dev] Amazon EC2 rebuild switch causes kernel panic

2016-03-14 Thread Domen Kožar
Fixed in git, wait for channel update. On Mon, 14 Mar 2016, 15:58 Roger Qiu, wrote: > What's happening is the transition from stage 1 booting to stage 2 booting > is failing. The error reported is that the init script that is be executed > once switch_root is executed is

Re: [Nix-dev] Amazon EC2 rebuild switch causes kernel panic

2016-03-14 Thread Roger Qiu
What's happening is the transition from stage 1 booting to stage 2 booting is failing. The error reported is that the init script that is be executed once switch_root is executed is non existent. Which could mean your initrd is corrupted or the build failed for some reason or some other config

[Nix-dev] Amazon EC2 rebuild switch causes kernel panic

2016-03-14 Thread Paul Cooley
I brought up an AWS instance using nixos-15.09.git.87b377dM-x86_64-pv-ebs . After modifying /etc/nixos/configuration.nix to use the "amazon-init.nix" rather than "amazon-image.nix" and performing a 'nixos-rebuild switch' command, the instance reports the following error. [fsck.ext3 (1) --

Re: [Nix-dev] How to use binaries from other hosts?

2016-03-14 Thread Matthias Beyer
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

Re: [Nix-dev] How to use binaries from other hosts?

2016-03-14 Thread Matthias Beyer
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 McKenna

Re: [Nix-dev] How to use binaries from other hosts?

2016-03-14 Thread Brian McKenna
That should be: sudo nix-store --import example.closure On 14 March 2016 at 22:35, Brian McKenna wrote: > 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

Re: [Nix-dev] How to use binaries from other hosts?

2016-03-14 Thread Adrien Devresse
> 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]

Re: [Nix-dev] How to use binaries from other hosts?

2016-03-14 Thread Oliver Charles
On Mon, Mar 14, 2016 at 9:08 AM 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

[Nix-dev] How to use binaries from other hosts?

2016-03-14 Thread Matthias Beyer
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