Re: [Nix-dev] Automatic download option for requireFile

2015-02-23 Thread Eelco Dolstra
Hi, On 22/02/15 19:51, Vladimír Čunát wrote: On 02/22/2015 11:26 AM, Tomasz Kontusz wrote: Talking about laws: are there any guidelines about what software can go into nixpkgs/can be distributed by hydra? I know many distributions try to somehow separate the software illegal in USA (mostly

Re: [Nix-dev] Permission error when installing mpd

2015-02-23 Thread joachifm
On Thu, Feb 19, 2015, at 09:28 PM, James Cook wrote: Hm, this sounds like a bug actually. Maybe the mkdir is running as mpd but the author of that .nix file expected it to run as root? (Can anyone contradict this?) This is correct [1]. Until the fix hits unstable, you can set

[Nix-dev] status of mingw support

2015-02-23 Thread Anders Papitto
Hello, I am currently looking into building some software using the mingw cross compiler (specifically, the brood war api as per http://www.broodwarai.com/forums/viewtopic.php?f=7t=984). However, after some time googling and grepping through the nixpkgs repository for references to mingw, it

Re: [Nix-dev] State database in nixops

2015-02-23 Thread Rob Vermaas
Hi, at LogicBlox we use NixOS and NixOps extensively to deploy all sorts of clusters. We are using dedicated deployment machines, from which different users can deploy the applications by sudo'ing to a shared user account. We back up all nix paths that nixops deployments use (using the 'nixops

Re: [Nix-dev] Tarball job broken / pypy sitePackages attribute?

2015-02-23 Thread Bjørn Forsman
On 23 February 2015 at 19:23, Bjørn Forsman bjorn.fors...@gmail.com wrote: I'm a bit confused, this fails on master branch: $ nix-env -f . -qa \* --meta --xml --drv-path --show-trace /dev/null ... error: while querying the derivation named ‘pypy2.5-graph-tool-2.2.36’: while evaluating the

[Nix-dev] HaskellNG and taffybar

2015-02-23 Thread Arseniy Seroka
Hello! I've switched to the new haskellng branch. Everything works fine except the taffybar. I have config like myHs = haskellngPackages.ghcWithPackages ( pkgs: with pkgs; [ ... taffybar ... ]); Before haskellng when I was rebuilding taffybar everything was ok. But now

Re: [Nix-dev] Tarball job broken / pypy sitePackages attribute?

2015-02-23 Thread Bjørn Forsman
On 23 February 2015 at 19:23, Bjørn Forsman bjorn.fors...@gmail.com wrote: I'm a bit confused, this fails on master branch: $ nix-env -f . -qa \* --meta --xml --drv-path --show-trace /dev/null ... error: while querying the derivation named ‘pypy2.5-graph-tool-2.2.36’: while evaluating the

[Nix-dev] Tarball job broken / pypy sitePackages attribute?

2015-02-23 Thread Bjørn Forsman
I'm a bit confused, this fails on master branch: $ nix-env -f . -qa \* --meta --xml --drv-path --show-trace /dev/null ... error: while querying the derivation named ‘pypy2.5-graph-tool-2.2.36’: while evaluating the attribute ‘preConfigure’ of the derivation ‘pypy2.5-graph-tool-2.2.36’ at

[Nix-dev] Alwyas remove icon-them.cache?

2015-02-23 Thread Bjørn Forsman
Hi all, There are several packages in nixpkgs with rm $out/share/icons/hicolor/icon-theme.cache. Should we rather add that line to a fixup phase? - Bjørn ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] Alwyas remove icon-them.cache?

2015-02-23 Thread Luca Bruno
Yes we can commit that stuff separately, but must go to staging because it's a big rebuild of many apps. On Mon, Feb 23, 2015 at 9:14 PM, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 23 February 2015 at 21:08, Luca Bruno lethalma...@gmail.com wrote: Yes I did that in my work for GNOME

Re: [Nix-dev] HaskellNG and taffybar

2015-02-23 Thread Kirill Elagin
Well, the author of the issue I pointed out is correct in saying that they use Dyre which in turn uses ghc-paths. I checked ghc-paths and I believe what they do is store the path to GHC _they were compiled with_. So errr... Looks like we are stuck in a loop. I guess your best bet is to patch Dyre

Re: [Nix-dev] Alwyas remove icon-them.cache?

2015-02-23 Thread Bjørn Forsman
On 23 February 2015 at 21:18, Luca Bruno lethalma...@gmail.com wrote: Yes we can commit that stuff separately, but must go to staging because it's a big rebuild of many apps. Agreed. ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] Alwyas remove icon-them.cache?

2015-02-23 Thread Bjørn Forsman
On 23 February 2015 at 21:08, Luca Bruno lethalma...@gmail.com wrote: Yes I did that in my work for GNOME 3.14, and also other stuff. https://github.com/NixOS/nixpkgs/pull/5308 Ah, I see: ... +# Remove icon cache +hicolorPreFixupPhase() { + rm -f $out/share/icons/hicolor/icon-theme.cache + rm

Re: [Nix-dev] HaskellNG and taffybar

2015-02-23 Thread Kirill Elagin
It might even be a good idea to send this patch to Dyre upstream. I doubt they really want to use GHC path stored during compilation for _dynamic_ reconfiguration. On Mon Feb 23 2015 at 0:18:58 Kirill Elagin kirela...@gmail.com wrote: Well, the author of the issue I pointed out is correct in

Re: [Nix-dev] HaskellNG and taffybar

2015-02-23 Thread Arseniy Seroka
Thanks. Gonna do something. 2015-02-23 23:21 GMT+03:00 Kirill Elagin kirela...@gmail.com: It might even be a good idea to send this patch to Dyre upstream. I doubt they really want to use GHC path stored during compilation for _dynamic_ reconfiguration. On Mon Feb 23 2015 at 0:18:58 Kirill

Re: [Nix-dev] Alwyas remove icon-them.cache?

2015-02-23 Thread Luca Bruno
Yes I did that in my work for GNOME 3.14, and also other stuff. https://github.com/NixOS/nixpkgs/pull/5308 On Mon, Feb 23, 2015 at 9:00 PM, Bjørn Forsman bjorn.fors...@gmail.com wrote: Hi all, There are several packages in nixpkgs with rm $out/share/icons/hicolor/icon-theme.cache. Should we

Re: [Nix-dev] HaskellNG and taffybar

2015-02-23 Thread Arseniy Seroka
If someone need a solution, it's here [1] [1] https://github.com/jagajaga/my_configs/commit/45caa1be53d2dbee3bc58052925c16e4cd2ee9fe 2015-02-23 23:26 GMT+03:00 Arseniy Seroka ars.ser...@gmail.com: Thanks. Gonna do something. 2015-02-23 23:21 GMT+03:00 Kirill Elagin kirela...@gmail.com: It