Re: [Nix-dev] hydra-init

2015-07-13 Thread stewart mackenzie
Okay that did it, just created a hydra user. Much appreciated.

On Mon, Jul 13, 2015 at 4:57 PM, Eelco Dolstra
eelco.dols...@logicblox.com wrote:
 Hi,

 On 11/07/15 19:15, stewart mackenzie wrote:

 So I deleted /var/db/postgresql and /var/lib/hydra

 then following the section Letting nix handle the git repository of
 this tutorial:

 https://nixos.org/wiki/Installing_hydra_as_nixos_module

 then
 # su hydra

 Try su - hydra. Otherwise $PERL5LIB will be wrong.

 --
 Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
 ___
 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] hydra-init

2015-07-13 Thread Eelco Dolstra
Hi,

On 11/07/15 19:15, stewart mackenzie wrote:

 So I deleted /var/db/postgresql and /var/lib/hydra
 
 then following the section Letting nix handle the git repository of
 this tutorial:
 
 https://nixos.org/wiki/Installing_hydra_as_nixos_module
 
 then
 # su hydra

Try su - hydra. Otherwise $PERL5LIB will be wrong.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] How do I get the system crontab to work?

2015-07-13 Thread Nathan Bijnens
Not directly helping you with cron, but any reason why you are using cron
instead of systemd timers? The functionality is the same, but output is
logged to journald, status is kept and accessible using systemctl.
Just add a startAt definition to your systemd service.

N.

On Sun, Jul 12, 2015 at 10:23 PM Jeffrey David Johnson jef...@gmail.com
wrote:

 I see here that there are upstream issues with cron as far as setting user
 crontab entries:

 http://lists.science.uu.nl/pipermail/nix-dev/2014-September/014120.html

 But I'm having trouble setting the system ones as well. I think if they
 didn't work
 at all a lot of other things would fail, so I must be setting something
 wrong. This
 simple test doesn't put any files in /tmp or send any emails:

 services.cron = {
   enable = true;
   mailto = jef...@gmail.com;
   systemCronJobs = [
 * * * * *  test ls -l /  /tmp/cronout 21
 * * * * *
 /nix/store/wc472nw0kyw0iwgl6352ii5czxd97js2-coreutils-8.23/bin/test
 /nix/store/wc472nw0kyw0iwgl6352ii5czxd97js2-coreutils-8.23/bin/ls -l / 
 /tmp/cronout 21
   ];
 };

 I've checked that it does get written to /etc/crontab:

 SHELL=/nix/store/xlxjcjq3bnbwnzq82irlzwxhmx6fvc2w-bash-4.3-p33/bin/bash

 PATH=/nix/store/fpqvi360cimx3h1kxdxfvkyip52d1i8y-system-path/bin:/nix/store/fpqvi360cimx3h1kxdxfvkyip52d1i8y-system-path/sbin
 MAILTO=jef...@gmail.com

 NIX_CONF_DIR=/etc/nix
 * * * * * test ls -l /  /tmp/cronout 21
 * * * * *
 /nix/store/wc472nw0kyw0iwgl6352ii5czxd97js2-coreutils-8.23/bin/test
 /nix/store/wc472nw0kyw0iwgl6352ii5czxd97js2-coreutils-8.23/bin/ls -l / 
 /tmp/cronout 21

 And that the test and ls binaries are on that PATH. Anything else I should
 try?
 Jeff
 ___
 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] [(private) Meetup] I'm traveling through Europe, maybe I can meet some nixers?

2015-07-13 Thread Matthias Beyer
Would be nice, though we already met at the tuebix several weeks ago!
:-)

On 13-07-2015 00:55:57, Joachim Schiele wrote:
 if you come near tübingen (where i live) or balingen let me know.
 
 would be nice meeting you
 
 On 07.07.2015 20:57, Matthias Beyer wrote:
  Hi Nixers!
  
  So, it happens that I will travel through Europe in August and
  September. Actually, I will travel by bike from Donau-Eschingen (where
  the Donau originates) to the Black Sea, if I get so far.
  
  Maybe I can meet some nixers while traveling? Would be a pleasure to
  meet some of you for a drink or something, if we can arrange that!
  
  Contact me!
  
  Besides: I'd love to attend at a nixos meetp, NixConn anyone? :-P
  
  
  
  ___
  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

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.


pgpEjNo0H1xQY.pgp
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Question about 'import'

2015-07-13 Thread Joel Kleier
Hello!

I'm not sure if this is the right spot to ask these kind of questions --
if not, I'd be happy to re-post this elsewhere.

My question:

I can't seem to find anywhere in the manual, or elsewhere, that defines
the form of 'import' that uses the greater-than/less-than symbols around
the path parameter.

Example:

 with import nixpkgs {};

I have some intuition as to what this is for, but I'm curious as to what
the '' are more formally defined as doing.

Thank you!

-- 
Joel Kleier
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Question about 'import'

2015-07-13 Thread Luca Bruno
On 13/07/2015 15:58, Joel Kleier wrote:
 Hello!

 I'm not sure if this is the right spot to ask these kind of questions --
 if not, I'd be happy to re-post this elsewhere.

 My question:

 I can't seem to find anywhere in the manual, or elsewhere, that defines
 the form of 'import' that uses the greater-than/less-than symbols around
 the path parameter.

 Example:

  with import nixpkgs {};

 I have some intuition as to what this is for, but I'm curious as to what
 the '' are more formally defined as doing.

 Thank you!

Check http://nixos.org/nix/manual/#sec-common-env
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] How to get a donation receipt when donating money?

2015-07-13 Thread Matthias Beyer
Hi,

is there a way to get a donation receipt when donating money?

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.


pgpVgdbymxDy1.pgp
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Unetbootin boot through Grub2 console

2015-07-13 Thread Ruben Astudillo
Hi all

I got a tiny netbook on which I can't access the BIOS and can't find the
CMOS button without dissemble it entirely. I can still boot to grub
console of the previous distro and got a usb drive with a unetbootin copy
of nixos. Is there any way I could boot up from the grub2 console?

I tried booting from the .iso file through a loopback, that gives me the
bzImage and the initrd file. But I also need the init file which is
contained on the squashfs image of the nix-store. I could not put the
whole store on a usb drive because it needs to be FAT and it doesn't seem
to support symlinks which are many on the store. Ideally I would like to
avoid all this if I could boot directly from a unetbootin drive but I am
open to other suggestions. Thanks in advance

-- 
Ruben Astudillo   OpenPGP: 0x3C332311
Crear un haiku, en diecisiete silabas, es complica...
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Haskell: Stackage and Nix

2015-07-13 Thread Nikita Karetnikov
Is there a way to build packages from Stackage?  It'd be cool to have a
separate namespace for that, so I could refer to a package as
stackagePackages.something.

That's the only relevant post I've found:
http://article.gmane.org/gmane.linux.distributions.nixos/15724

But it seems to require a lot of work.

For the record, I'm aware of Stack and trying it now, but it's also not
pleasant because you have to manage non-Haskell libs yourself.


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Trying to package Mate

2015-07-13 Thread Christoph-Simon Senjak
Hello.

I am trying to create packages for the Mate Desktop Environment. Atril 
works already, but I would like to ask if some experienced maintainer 
(maybe from Gnome) could quickly look over them and give me some 
suggestions on how to make them better, etc.

Link:

https://github.com/dasuxullebt/nixpkgs/tree/upstream-master/pkgs/desktops/mate

Regards, CSS
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev



Re: [Nix-dev] [(private) Meetup] I'm traveling through Europe, maybe I can meet some nixers?

2015-07-13 Thread Wout Mertens
Good luck on your trip, sounds like fun! Unfortunately the Donau doesn't
pass Warsaw, otherwise, welcome!

On Mon, Jul 13, 2015 at 12:56 AM Joachim Schiele j...@lastlog.de wrote:

 if you come near tübingen (where i live) or balingen let me know.

 would be nice meeting you

 On 07.07.2015 20:57, Matthias Beyer wrote:
  Hi Nixers!
 
  So, it happens that I will travel through Europe in August and
  September. Actually, I will travel by bike from Donau-Eschingen (where
  the Donau originates) to the Black Sea, if I get so far.
 
  Maybe I can meet some nixers while traveling? Would be a pleasure to
  meet some of you for a drink or something, if we can arrange that!
 
  Contact me!
 
  Besides: I'd love to attend at a nixos meetp, NixConn anyone? :-P
 
 
 
  ___
  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

-- 

Wout.
(typed on mobile, excuse terseness)
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev