Re: [Nix-dev] NixOS rebuild error: can't install grub

2014-03-16 Thread James Cook
On 16 March 2014 18:43, Anderson Torres wrote: > Hello! > > I am with a problem here: NixOS refuses to update the system with a GRUB > error: > > > root@janis-nixos ~ # nixos-rebuild switch > > building Nix... > building the system configuration... > updating GRUB 2 menu... > Use of uninitialized

[Nix-dev] NixOS rebuild error: can't install grub

2014-03-16 Thread Anderson Torres
Hello! I am with a problem here: NixOS refuses to update the system with a GRUB error: root@janis-nixos ~ # nixos-rebuild switch building Nix... building the system configuration... updating GRUB 2 menu... Use of uninitialized value $_[0] in substitution (s///) at /nix/store/z1krxp2hwph8fypchf

Re: [Nix-dev] Compiling Thunar from git

2014-03-16 Thread Strahinja Popovic
Thank you so much, it makes ./configure now. Now my problem is when compiling, it terminates with following: /nix/store/55cajnd5wbli8vapmwx6ywi3yafld28b-dbus-glib-0.100.2/include/dbus-1.0/dbus/dbus-glib.h:28:30: fatal error: dbus/dbus-shared.h: No such file or directory Any ideas? How could I se

Re: [Nix-dev] Compiling Thunar from git

2014-03-16 Thread Sergey Mironov
Didn't know about autoreconfHook, thanks! 2014-03-16 21:11 GMT+04:00 Vladimír Čunát : > On 03/16/2014 05:52 PM, Sergey Mironov wrote: >> >> Try adding [pkgs.autoconf pkgs.automake pkgs.m4] to the buildInputs. > > > Maybe try adding autoreconfHook into buildInputs instead. That should add > the dep

Re: [Nix-dev] Compiling Thunar from git

2014-03-16 Thread Vladimír Čunát
On 03/16/2014 05:52 PM, Sergey Mironov wrote: Try adding [pkgs.autoconf pkgs.automake pkgs.m4] to the buildInputs. Maybe try adding autoreconfHook into buildInputs instead. That should add the deps and run that reconf phase automatically. Vlada smime.p7s Description: S/MIME Cryptographic

Re: [Nix-dev] Compiling Thunar from git

2014-03-16 Thread Sergey Mironov
Hi! Maybe, here is what is going on: Existing thunar expression builds Thunar from a tarball which already has ./configure script. In contrast, you don't have it in your git-tree so you need more dependencies to let ./autogen.sh to build it. Try adding [pkgs.autoconf pkgs.automake pkgs.m4] to the

[Nix-dev] Compiling Thunar from git

2014-03-16 Thread Strahinja Popovic
Hi everyone! I'm quite green about Nix, but I'm using NixOS few days and I'm quite happy for now. Anyway, I am trying to compile Thunar from git, to test few changes, and I have problem with ./autogen.sh. I have attached output of ./autogen.sh. Also I have attached thunar.nix I have tried - unsucc

[Nix-dev] Add New Ruby Gem to systemPackages

2014-03-16 Thread Marius Loewe
Hello, I want to add a ruby gem application to my systemPackages, which is not included in nixpkgs. Should I try to understand how to add it to https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/ruby/generated.nix or this https://nixos.org/wiki/Nixpkgs-ruby-overlay ? Or som

[Nix-dev] Need advice regarding an expression for a kded module (KScreen)

2014-03-16 Thread Kirill Elagin
Hi, I'd like to make an expression for KScreen(screens management done right). Here is the issue: to enable it you have to do three steps: 1. Unload randrmonitor (that's the module we are going to replace). 2. Set randrmonitor not to autoload. 3. Loa