Re: [Nix-dev] Qt Oxygen style in nixpkgs

2015-03-13 Thread Vladimír Čunát
Hi. On 03/13/2015 05:24 PM, Berno Strik wrote: Because the nix store is read-only I am almost sure that the file where the settings are stored is not on a read/write filesystem. Hope this will help you look into the right direction. Anything but ~/ and /tmp are read-only for regular users on

Re: [Nix-dev] Qt Oxygen style in nixpkgs

2015-03-13 Thread Thomas Tuegel
Hi, Are your nixpkgs-installed programs and your distro-installed programs using exactly the same version of Qt? Because of the way Qt's configuration works, all your programs are probably going to use (or at least try to use) the Oxygen theme installed by your distro. On Fri, Mar 13, 2015 at

Re: [Nix-dev] Qt Oxygen style in nixpkgs

2015-03-13 Thread Vladimír Čunát
On 03/13/2015 05:11 PM, Kirill Elagin wrote: What I can’t understand is whenever I run `qtconfig` from the nix store, I can’t choose Oxygen as GUI style. To be more precise, I can choose it, but the “save” button becomes disabled. Really strange. I'm on NixOS, and it works fine. I can choose

Re: [Nix-dev] Qt Oxygen style in nixpkgs

2015-03-13 Thread Thomas Tuegel
On Fri, Mar 13, 2015 at 6:38 PM, Kirill Elagin kirela...@gmail.com wrote: However I still have a question. For some reason Qt falled back not to a “built-in” style but for the Phase style plugin and seems that this one worked fine. Do you have an idea why? Is that just a happy coincidence?

Re: [Nix-dev] Qt Oxygen style in nixpkgs

2015-03-13 Thread Kirill Elagin
On Sat, Mar 14, 2015 at 2:46 AM Thomas Tuegel ttue...@gmail.com wrote: On Fri, Mar 13, 2015 at 6:38 PM, Kirill Elagin kirela...@gmail.com wrote: However I still have a question. For some reason Qt falled back not to a “built-in” style but for the Phase style plugin and seems that this one

Re: [Nix-dev] Qt Oxygen style in nixpkgs

2015-03-13 Thread Thomas Tuegel
On Fri, Mar 13, 2015 at 5:18 PM, Kirill Elagin kirela...@gmail.com wrote: Versions of Qt are the same. And you are right, I checked strace on `qtconfig` and both programs load oxygen from `/usr/lib64`. There are many differences in the outputs of `strace` but what seems to be relevant is that

Re: [Nix-dev] Qt Oxygen style in nixpkgs

2015-03-13 Thread Kirill Elagin
On Sat, Mar 14, 2015 at 1:34 AM Thomas Tuegel ttue...@gmail.com wrote: Here's what's going on: Nix sets RPATH for libraries and executables so they can find the libraries they depend on. Your distro's libraries, like oxygen.so, will not do this; instead, they rely on the interpreter ld.so to

Re: [Nix-dev] Qt Oxygen style in nixpkgs

2015-03-13 Thread Berno Strik
Because the nix store is read-only I am almost sure that the file where the settings are stored is not on a read/write filesystem. Hope this will help you look into the right direction. Op Fri, 13 Mar 2015 16:11:51 + Kirill Elagin kirela...@gmail.com schreef: I noticed a strange thing: Qt

[Nix-dev] Qt Oxygen style in nixpkgs

2015-03-13 Thread Kirill Elagin
I noticed a strange thing: Qt applications that I installed from nixpkgs look differently from (the same) applications installed by the native package manager. I started playing with `qtconfig`. What I can’t understand is whenever I run `qtconfig` from the nix store, I can’t choose Oxygen as GUI