[Nix-dev] sonarQube package

2016-01-11 Thread Augustin Borsu
Hello, I'm a bit stuck so I thought I would try and ask the community if any one has an idea. I'm trying to make a package to run SonarQube on a nixos server and so far I"ve gotten this far : https://gist.github.com/aborsu/7ca170528686c8d11dea { stdenv, fetchurl, unzip, pkgs, makeWrapper,

[Nix-dev] How to get correct length of a string containing non-ascii characters

2016-01-11 Thread Erik Rybakken
Hi, In nix, when finding the length of a string containing non-ascii characters, the number of bytes in the representation is returned, instead of the actual number of characters: > nix-repl> builtins.stringLength "å" > 2 Is there any way to get the number of characters instead, or does this

Re: [Nix-dev] Overriding xorgserver in nixpkgs

2016-01-11 Thread Vladimír Čunát
On 01/12/2016 04:18 AM, T White wrote: > the AMD driver is the only one which does not support it. Yeah, probably. I wasn't so certain of the legacy nvidia branches, but Linux support of nvidia still seems far ahead of AMD: https://www.phoronix.com/scan.php?page=news_item=NVIDIA-Legacy-X-1.18 >

Re: [Nix-dev] How to get correct length of a string containing non-ascii characters

2016-01-11 Thread Vladimír Čunát
Hi. On 01/12/2016 12:29 AM, Erik Rybakken wrote: > In nix, when finding the length of a string containing non-ascii characters, > the number of bytes in the representation is returned I'm fairly certain it would need changes to the core of the evaluator to properly support UTF-8 (I assume that

Re: [Nix-dev] sonarQube package

2016-01-11 Thread Bjørn Forsman
On Jan 12, 2016 00:27, "Augustin Borsu" wrote: > > Hello, > > I'm a bit stuck so I thought I would try and ask the community if any one has an idea. > I'm trying to make a package to run SonarQube on a nixos server and so far I"ve gotten this far : ... > But now I have a

Re: [Nix-dev] Overriding xorgserver in nixpkgs

2016-01-11 Thread T White
Hi Vladimir, thanks for the reply. xserver 1.18 has lots of good fixes and the AMD driver is the only one which does not support it. All the rest including Nvidia do. I don't think anyone else should have to wait for the upgrade just because AMD do not make enough effort to track upstream ABI

Re: [Nix-dev] Flattening pkgs tree in nixpkgs/pkgs

2016-01-11 Thread Roger Qiu
+1 on the meta tags concept if we had a new nix tool that wrapped around find or used a cached index that could show all packages related to a particular tag. The cached index could be auto generated on each release or each commit? Or just generated at installation when a user installs Nix.

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

2016-01-11 Thread Domen Kožar
That's a shame, is that for EU or also US? We could handle the donation directly to Shea if someone wants a usable receipt. On Mon, Jan 11, 2016 at 1:55 PM, Christian Theune wrote: > Hi, > > a quick note: as a corporate sponsor, gofundme seems not to provide usable >

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

2016-01-11 Thread Christian Theune
Hi, a quick note: as a corporate sponsor, gofundme seems not to provide usable receipts. :( Cheers, Christian > On 11 Jan 2016, at 11:47, Domen Kožar wrote: > > Hi all, > > I'm really excited to announce a (proper!) funding campaign for this issue. > Shea Levy stepped up as

Re: [Nix-dev] Correct XMonad Configuration

2016-01-11 Thread Taeer Bar-Yam
Correction: perhaps this will help: https://github.com/NixOS/nixos/issues/194 That is, try adding pkgs.xlibs.xmessage to environment.systemPackages --Taeer > On Jan 11, 2016, at 11:39 AM, Taeer Bar-Yam wrote: > > Are you on the unstable channel? You might want to consider

[Nix-dev] Correct XMonad Configuration

2016-01-11 Thread Sergiu Ivanov
Dear NixOS Community, My name is Sergiu; I teach Computer Science and do research in Theoretical Computer Science. I have some experience with Haskell development. I came across NixOS quite some time ago and now I finally have the opportunity to install it and maybe even try to contribute :-)

[Nix-dev] Java environment

2016-01-11 Thread Tim Steinbach
Hi, I have been working a lot with NixOS lately. Since I am a Java guy, I was trying to add and update all the tools I am using. After some discussions on Github about building things from source rather than grabbing binaries, I started on a git branch that would introduce a Nix Java environment.

Re: [Nix-dev] Java environment

2016-01-11 Thread Vladimír Čunát
Hello! On 01/11/2016 06:40 PM, Tim Steinbach wrote: > Are there general rules for what this should look like? I am trying to > emulate what Nix's Haskell or other package systems do. > Or should I just put a minimal "Build Gradle from source including all > dependencies" together and then we