Re: [Nix-dev] Funding campaign for "Get rid of the Perl dependency" in Nix

2016-01-28 Thread Domen Kožar
We're almost at the goal. 92% is funded. It's happening. Big thanks to each and everyone chipping in, all parts of the cake count and are greatly appreciated. I strongly believe this is a good push for Nix community. If you haven't contributed yet, now is the time to help finish the funding:

[Nix-dev] Link to NixOS package

2016-01-28 Thread Sergey Mironov
Hi, Is it possible to get a link pointing to a package page on NixOS Website? AFAIK, Hydra doesn't build the package I mean (urweb) so hydra.nixos.org/job/.. is not representative in this case. The package is functioning and can be compiled locally. It would be nice to let users know that they

Re: [Nix-dev] Redirect SDDM/LightDM (X.0.log & .xsession-errors) to JournalCTL

2016-01-28 Thread Vladimír Čunát
On 01/28/2016 12:21 PM, Roger Qiu wrote: > But any ideas on how to redirect X.0.log? X has -logfile option which seems like it only accepts paths. It should be possible to hack around that via a named pipe, though that's not a very nice solution. But maybe someone else was doing this already?

Re: [Nix-dev] Link to NixOS package

2016-01-28 Thread Sergey Mironov
Ah, Thanks. Hydra jobsets are really tricky thing to understand. I picked a Haskell package link from Hackage as an example and tried http://hydra.nixos.org/job/nixpkgs/trunk/urweb. It is 4 years old, thats why I thought there is no binary for urweb. 2016-01-28 23:20 GMT+03:00 Vladimír Čunát

Re: [Nix-dev] Link to NixOS package

2016-01-28 Thread Vladimír Čunát
On 01/28/2016 08:45 PM, Sergey Mironov wrote: > AFAIK, Hydra doesn't build the package I mean (urweb) It does build urweb http://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.urweb.x86_64-linux --Vladimir smime.p7s Description: S/MIME Cryptographic Signature

Re: [Nix-dev] Going through hell with systemd timers

2016-01-28 Thread zimbatm
We really need to get rid of that SSL_CERT_FILE environment variable... related issue: https://github.com/NixOS/nixpkgs/issues/8486 On Thu, 28 Jan 2016 at 15:06 4levels <4lev...@gmail.com> wrote: > Dear Guillaume, > > you saved my day (and sleepless last night)! > This line worked all the magic

Re: [Nix-dev] Going through hell with systemd timers

2016-01-28 Thread exi
Hi Erik, does duplicity use an ssh connection? Does it depend on your ssh passphrase to be present? Do you use a ssh agent? "BackendException" from the traceback looks more like a connection issue than a nix issue. Which user is running the timer command? Could you post your timer config?

[Nix-dev] Going through hell with systemd timers

2016-01-28 Thread 4levels
Hi Nix-Devs, yesterday I came to a point of really wanting to break something out of sheer frustration over failing systemd timer calls. I've setup a duplicity backup script over s3 that works flawlessly when invoked from terminal, but fails misrably when being called from a timer. I've tried

Re: [Nix-dev] Going through hell with systemd timers

2016-01-28 Thread 4levels
Hi Exi, thank you for your reply. This is the timers config I'm using (note that I'm starting this every 5 minutes to troubleshoot, is supposed to run every 2 hours or so) backup = { description = "Backup service"; after = [ "network.target" "mysql.target" ]; path = [ pkgs.procps

Re: [Nix-dev] Going through hell with systemd timers

2016-01-28 Thread 4levels
Hi Zimbatm (is that your name :-) I'm currently trying to debug by using printenv to view the differences in both environments. I'm not yet familiar with using nix-shell :-s But since I cannot even deploy or rebuild switch anymore (see my other email to this list) I'm pretty stuck. I'm

Re: [Nix-dev] Redirect SDDM/LightDM (X.0.log & .xsession-errors) to JournalCTL

2016-01-28 Thread Roger Qiu
I'll look into it and submit a PR. But any ideas on how to redirect X.0.log? On 28/01/2016 4:40 PM, Vladimír Čunát wrote: > On 01/28/2016 06:29 AM, Roger Qiu wrote: >> I see, do I need to fork nixpkgs to override that bash fragment? > Why not create an option to also log to journalctl, perhaps

Re: [Nix-dev] Going through hell with systemd timers

2016-01-28 Thread Guillaume Maudoux (Layus)
Hi, My experience with urlwatch was that the SSL_CERT_FILE env var was missing. This may also be your issue if you are using the network. It is however always possible to run the service manually, and see the logs. A service declaration with a startAt attribute creates two services, .service and

Re: [Nix-dev] sudo nixos-rebuild test failes after new install

2016-01-28 Thread 4levels
Hi Nix-Devs, it seems that I'm the culprit of this messed up state of the Vultr machines. I tried adding a swap partition under the fileSystems directive. After finding the correct way to define swap devices (I was assuming fileSystems."swap" would work), the damage was already done and

Re: [Nix-dev] Going through hell with systemd timers

2016-01-28 Thread zimbatm
One common error with system services are missing environment variable. When testing with your shell you will have $HOME set for example. On Thu, 28 Jan 2016 09:43 4levels <4lev...@gmail.com> wrote: > Hi Exi, > > thank you for your reply. > > This is the timers config I'm using (note that I'm

Re: [Nix-dev] Redirect SDDM/LightDM (X.0.log & .xsession-errors) to JournalCTL

2016-01-28 Thread Roger Qiu
GDM apparently does this: http://worldofgnome.org/in-gnome-3-12-systemd-will-track-xorg-logs/ But I'm not familiar with the source code. On 29/01/2016 6:07 AM, Tuomas Tynkkynen wrote: > 2016-01-28 20:47 GMT+02:00 Vladimír Čunát : >> On 01/28/2016 12:21 PM, Roger Qiu wrote: >>>

Re: [Nix-dev] NixCon St. Petersburg 2016

2016-01-28 Thread Rok Garbas
Quoting Arseniy Seroka (2016-01-20 21:52:12) > Greetings, > We want to organize NixCon in Saint-Petersburg (Russia) based in ITMO > University [1]. > There is a big conference hall that can seat everyone. > > We expect to have at least 40 participants, and we are ready to help > anyone with visa

Re: [Nix-dev] NixCon St. Petersburg 2016

2016-01-28 Thread shea
Hi all, - Original Message - From: "Rok Garbas" To:"Arseniy Seroka" , "nix-dev" Cc:"Maxim Buzdalov" Sent:Thu, 28 Jan 2016 14:43:01 +0100 Subject:Re: [Nix-dev] NixCon St. Petersburg 2016 Also is

Re: [Nix-dev] Going through hell with systemd timers

2016-01-28 Thread 4levels
Dear Guillaume, you saved my day (and sleepless last night)! This line worked all the magic for me: environment = { inherit (config.environment.variables) SSL_CERT_FILE; }; Make sure to pass through our office whenever you're near Gent, Belgium, we're keeping a bottle of champagne chilled for