Re: [Nix-dev] mxe on NixOS

2015-08-18 Thread Luca Bruno
You are doing assuming things wrong. First of all, you are not supposed to be able to build glib by installing things with nix-env. Either nix-build or nix-shell. Then don't set NIX_PATH for nix-shell, rather call nix-shell /path/nixpkgs -A glib. On Tuesday, August 18, 2015, Andrew Kelley

Re: [Nix-dev] mxe on NixOS

2015-08-17 Thread Luca Bruno
2015 at 01:41, Luca Bruno lethalma...@gmail.com wrote: On Sunday, August 16, 2015, James Cook james.c...@utoronto.ca wrote: To perhaps simplify the problem, does anyone know how to build glib on a NixOS system the old-fashioned way, without using nix? If I just run ./autogen.sh

Re: [Nix-dev] mxe on NixOS

2015-08-16 Thread Luca Bruno
On Sunday, August 16, 2015, James Cook james.c...@utoronto.ca wrote: To perhaps simplify the problem, does anyone know how to build glib on a NixOS system the old-fashioned way, without using nix? If I just run ./autogen.sh in a fresh glib checkout, I get a similar error to the one Andrew is

Re: [Nix-dev] Did services become pure?

2015-08-14 Thread Luca Bruno
Start by debugging at least what that Permission denied refers to. On Fri, Aug 14, 2015 at 11:31 AM, Manuel Pages amarr.industr...@gmail.com wrote: Greetings, I have a problem I don't know how to debug. I'm on unstable-small channel and face the following problem — without services that do

Re: [Nix-dev] Did services become pure?

2015-08-14 Thread Luca Bruno
, removed all the services, then just added this small expression and it (reproducibly) exploded. On Fri, Aug 14, 2015 at 3:21 PM, Luca Bruno lethalma...@gmail.com wrote: Start by debugging at least what that Permission denied refers to. On Fri, Aug 14, 2015 at 11:31 AM, Manuel Pages

Re: [Nix-dev] Container-based NixOS tests?

2015-08-14 Thread Luca Bruno
I think we shall port all the VM code of nixpkgs to use libvirt, so we get all the virtualizations (including containers) for free. On Fri, Aug 14, 2015 at 3:44 PM, Rickard Nilsson rickard.nils...@telia.com wrote: Hi, Has anyone done any work on running NixOS tests (that is,

Re: [Nix-dev] Some beginner Nix/nixpkgs questions

2015-08-05 Thread Luca Bruno
On 05/08/2015 12:33, Alex Dean wrote: Thanks Luca, On 1 - We prefer having only the latest version when possible.. I don't think I understand this. If I am using Packer to build an Amazon AMI and install Kafka via Nix, then all it takes is a single commit to Nixpkgs for me to end up with a

[Nix-dev] Fwd: gnupg2 gpg-agent instead of gnome-keyring

2015-08-03 Thread Luca Bruno
Fowarding this email that is relevant for distros, someone may be interested in it. Original Message Subject:gnupg2 gpg-agent instead of gnome-keyring Date: Mon, 3 Aug 2015 10:10:08 +0200 From: Stef Walter st...@gnome.org To: distributor-l...@gnome.org,

Re: [Nix-dev] About -lcrypto

2015-07-30 Thread Luca Bruno
To be clear, you can check here: https://git.gnome.org/browse/evolution-data-server/tree/configure.ac There's no mention of openssl or crypto. Rather nss. So if it's requiring -lcrypto at build time it's certainly a leak of some .la without -L. On Fri, Jul 31, 2015 at 1:09 AM, Luca Bruno lethalma

Re: [Nix-dev] About -lcrypto

2015-07-30 Thread Luca Bruno
...@gmail.com wrote: On 29 July 2015 at 15:38, Luca Bruno lethalma...@gmail.com wrote: To everyone, it's not correct to add openssl to buildInputs or propagatedBuildInputs. It's most probably a broken .la file in some package (like I fixed recently libarchive) that is propagating -lcrypto

[Nix-dev] About -lcrypto

2015-07-29 Thread Luca Bruno
To everyone, it's not correct to add openssl to buildInputs or propagatedBuildInputs. It's most probably a broken .la file in some package (like I fixed recently libarchive) that is propagating -lcrypto without a proper -L flag. So please, before adding build inputs like this and then you don't

Re: [Nix-dev] mxe on NixOS

2015-07-27 Thread Luca Bruno
On 27/07/2015 07:36, Andrew Kelley wrote: mxe (M Cross Environment) is a way to cross compile for Windows. It's a pretty great project. There's one hitch when using it on NixOS. I guess it expects /usr/share/aclocal/pkg.m4 to exist for some reason. I don't completely understand it and I'm

Re: [Nix-dev] Zero Hydra Failures on staging and master

2015-07-21 Thread Luca Bruno
Hello nixers, this is a very good time to work on ZHF! Staging has been merged into master, and hydra nixpkgs jobset has 2211 failures. Hope we can get down to a very low number. -- NixOS Linux http://nixos.org ___ nix-dev mailing list

Re: [Nix-dev] point to channel via configuration.nix

2015-07-18 Thread Luca Bruno
You just add hydra as binary cache: http://nixos.org/nixos/manual/ch-options.html#opt-nix.binaryCaches On Sat, Jul 18, 2015 at 7:37 AM, stewart mackenzie setor...@gmail.com wrote: Hi All, Problem: We have custom software to build and distribute via Hydra. We want our cloned hydra to be

Re: [Nix-dev] How does the branching currently work?

2015-07-18 Thread Luca Bruno
,... so let me ask a followup question: Why isn't there a release-15.07 branch, yet? On 18-07-2015 17:59:37, Luca Bruno wrote: That's it. Additionally there's the staging branch for mass-rebuilds (like stdenv changes), to avoid people tracking master recompiling the world. Once staging

Re: [Nix-dev] How does the branching currently work?

2015-07-18 Thread Luca Bruno
That's it. Additionally there's the staging branch for mass-rebuilds (like stdenv changes), to avoid people tracking master recompiling the world. Once staging builds on hydra it means there are binaries available and it gets merged into master. On Sat, Jul 18, 2015 at 5:56 PM, Matthias Beyer

Re: [Nix-dev] How does the branching currently work?

2015-07-18 Thread Luca Bruno
month. I guess 15.10 - 15.12 or even 16.01 would be better, don't you think so? Also: 9k failures, wow. zero would be nice, really! :-) Thanks for the explanations! On 18-07-2015 19:18:16, Luca Bruno wrote: There are important fixes in staging and we're waiting for hydra to complete

Re: [Nix-dev] Nix-env error

2015-07-17 Thread Luca Bruno
You have an old nixpkgs. On Fri, Jul 17, 2015 at 7:14 PM, Colin Putney co...@wiresong.com wrote: Hi folks, I'm running into an error I can't figure out. # nix-env -i lsof error: attribute ‘interpreterName’ missing, at

Re: [Nix-dev] Question about 'import'

2015-07-13 Thread Luca Bruno
On 13/07/2015 15:58, Joel Kleier wrote: Hello! I'm not sure if this is the right spot to ask these kind of questions -- if not, I'd be happy to re-post this elsewhere. My question: I can't seem to find anywhere in the manual, or elsewhere, that defines the form of 'import' that uses the

Re: [Nix-dev] NixOS Foundation

2015-07-08 Thread Luca Bruno
Great thanks! It appears that the donation page from paypal is in Dutch. Isn't it possible to default to English? I don't see a way to change the language of the donation page. Best regards, ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] Trouble building with pkgconfig (dwm, current nixos)

2015-07-08 Thread Luca Bruno
Try nativeBuildInputs instead of buildInputs. On Wed, Jul 8, 2015 at 1:21 AM, James Felix Black j...@homonculus.net wrote: Hi, all, I’m enjoying my time with NixOS so far, but I’m having a devil of a time building a patched version of the dwm window manager. I’ve been able to successfully

[Nix-dev] Zero Hydra Failures on staging and master

2015-07-01 Thread Luca Bruno
Hello dear nixers, our first and latest ZHF run was very successful. We were able to drop hydra failures from 6000+ failures to almost zero failures! [1] Because the next NixOS stable release will hopefully happen the next month, I'd like to focus on getting the number of failures low again,

[Nix-dev] multi-user.target must not be After network.target

2015-06-30 Thread Luca Bruno
The multi-user.target must be kept slim, network should not be a prerequisite. I find my server system to have systemctl show multi-user.target|grep After: After=nix-daemon.socket basic.target rescue.service rescue.target swap.target nss-user-lookup.target nss-lookup.target network.target

Re: [Nix-dev] systemd stdout logging

2015-06-28 Thread Luca Bruno
Well it's weird, since even without that StandardOutput = journal; my services log to journalctl. You didn't disable journal storage or something like that, right? On Sun, Jun 28, 2015 at 7:48 AM, Richard Wallace rwall...@thewallacepack.net wrote: I've got a service that I'm deploying with

Re: [Nix-dev] System-Packages available for root but not for user?

2015-06-27 Thread Luca Bruno
Evidently the user simply didn't have /run/current-system/sw/bin in PATH. On Sat, Jun 27, 2015 at 11:54 AM, Matthias Beyer m...@beyermatthias.de wrote: Hi, I have a strange problem: My system packages on my machine I installed yesterday has the system packages available for root, but not for

[Nix-dev] Game of the day, spot the difference between master and staging

2015-06-26 Thread Luca Bruno
So today staging finally restarted building stuff on hydra, thanks to whoever was involved in fixing this. Then I noticed that some packages are failing to build, for example the ecl compiler. It fails like this, nix-build -A ecl: configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE

Re: [Nix-dev] Idea: Add a user group in the github organization

2015-06-26 Thread Luca Bruno
On 26/06/2015 13:53, stewart mackenzie wrote: Please read pieter hintjens culture and empire, specifically chapter 2 light of spheres. Good contributors should be promoted quickly before they move off onto other projects. Yes if you choose to use nixos you aren't going anywhere quickly but

Re: [Nix-dev] NixOS and NixOps on server : testimonials here ?

2015-06-24 Thread Luca Bruno
On 24/06/2015 15:32, Fabien Bourgeois wrote: Hi there, I'm a newcomer to Nix ecosystem and am theoretically really pleased about manuals and articles I've read about it. I will really soon give it a try and if tests fulfill my needs, I'd like to be able to use NixOS everywhere

Re: [Nix-dev] Understanding NIX_PATH

2015-06-13 Thread Luca Bruno
exist on my system, so I gues it is referring to something…? thank you very much! Eike Luca Bruno lethalma...@gmail.com writes: I think because you are using the nixpkgs-unstable instead of nixos-unstable, hence the NIX_PATH is wrong. Does /nix/var/nix/ profiles/per-user/root/channels/nixos

Re: [Nix-dev] Understanding NIX_PATH

2015-06-13 Thread Luca Bruno
to some non-existent path? I didn't tweak this variable myself. Does it maybe only apply to non-NixOS systems that use Nix? Thanks Eike Luca Bruno lethalma...@gmail.com writes: It's just there if someone wants to use that path. On Sat, Jun 13, 2015 at 1:58 PM, Eike e...@eknet.org wrote

Re: [Nix-dev] Understanding NIX_PATH

2015-06-13 Thread Luca Bruno
I think because you are using the nixpkgs-unstable instead of nixos-unstable, hence the NIX_PATH is wrong. Does /nix/var/nix/ profiles/per-user/root/channels/nixos/nixpkgs/nixos exist? If not, your NIX_PATH is wrong. On Sat, Jun 13, 2015 at 12:54 PM, Eike e...@eknet.org wrote: Hello all, I

Re: [Nix-dev] tests with meta section

2015-06-02 Thread Luca Bruno
Yes please, I'd like to receive emails for failing tests, too. On Tue, Jun 2, 2015 at 9:17 AM, Joachim Schiele j...@lastlog.de wrote: hi, wouldn't it be helpful if the unit tests in release.nix, like these: # Run the tests for each platform. You can run a test by doing # e.g.

Re: [Nix-dev] How to check which commit my channels are on?

2015-05-23 Thread Luca Bruno
https://nixos.org/wiki/FAQ#How_do_I_know_where.27s_nixpkgs_channel_located_and_at_which_commit.3F On Sat, May 23, 2015 at 8:19 PM, Joachim Schiele j...@lastlog.de wrote: On 23.05.2015 19:09, Matthias Beyer wrote: Hi, is there a way to query which commit my channels are currently

[Nix-dev] GNOME 3.12 - 3.16

2015-05-17 Thread Luca Bruno
About GNOME 3.16 - The new nixos unstable release has finally GNOME 3.16 binaries. You can try it with environment.gnome3.packageSet = gnome3_16; However, because gtk 3.12 apps will not render correctly on gnome 3.16, I also suggest you to add in packageOverrides gtk3 =

Re: [Nix-dev] Problem with builder #1 - nix-shell and nix-build behave differently

2015-05-16 Thread Luca Bruno
mentioned, the cd $sourceRoot is done between phases, which is unexpectable to me. 2015-05-14 14:10 GMT+00:00 Luca Bruno lethalma...@gmail.com: On 14/05/2015 15:58, Daniel Hlynskyi wrote: Then how does nix-build handle this? Is there some special hook cd $sourceRoot after unpackPhase? Why

[Nix-dev] Dropped renameImports from buildGoPackage

2015-05-15 Thread Luca Bruno
The renameImports was a bad choice for buildGoPackage infrastructure. Every package would have to specify the needed renames. Now instead each library can define goPackageAliases, and dependant packages will automatically rename the imports. With renameImports: A depends on B - B changed

Re: [Nix-dev] Problem with builder #1 - nix-shell and nix-build behave differently

2015-05-14 Thread Luca Bruno
On 14/05/2015 15:58, Daniel Hlynskyi wrote: Then how does nix-build handle this? Is there some special hook cd $sourceRoot after unpackPhase? Why this hook is not added to nix-shell? Because you may be in a different directory where nix-shell can cd $sourceRoot? Those unpack cd just don't

Re: [Nix-dev] How to test my service definition without actually installing it?

2015-05-14 Thread Luca Bruno
On 14/05/2015 10:26, Matthias Beyer wrote: (Also send to the list, as you did not reply to the list as well) But I need to specify my git clone of the repo, right? And when doing this, my whole system gets rebuild using the definitions from master, so almost everything. You run nixos-rebuild

Re: [Nix-dev] How to test my service definition without actually installing it?

2015-05-14 Thread Luca Bruno
On 14/05/2015 10:07, Matthias Beyer wrote: Hi, I'm currently working on https://github.com/NixOS/nixpkgs/pull/7771 (taskwarrior-server service definition for nixos) How to test my service definition without installing it aka. without polluting my boot manager with boot entries? How

Re: [Nix-dev] How to test my service definition without actually installing it?

2015-05-14 Thread Luca Bruno
On 14/05/2015 11:18, Matthias Beyer wrote: How do you do that? My approach is nixos-rebuild build-vm as someone else (I guess it was Lethalman) suggested, but it fails with: $ sudo nixos-rebuild build-vm -I . building Nix... building the system configuration... error: The

Re: [Nix-dev] Possible breaking changes from staging

2015-05-11 Thread Luca Bruno
So guys all the stuff quoted below happened, it's all in master. Hopefully NM 1.0 won't break your desktop too much. In case it does, please report an issue to nixpkgs. Thanks all for the hard work. Best regards, On Wed, Apr 22, 2015 at 11:05 AM, Luca Bruno lethalma...@gmail.com wrote

Re: [Nix-dev] Staging merge will soon happen

2015-05-10 Thread Luca Bruno
/eval/1192494#tabs-still-fail On Tue, May 5, 2015 at 1:18 PM, Luca Bruno lethalma...@gmail.com wrote: On 05/05/2015 13:14, Vladimír Čunát wrote: On 05/03/2015 01:25 PM, Luca Bruno wrote: Because binaries of built staging are available only for that 7f9ccc6 commit, I will merge exactly

Re: [Nix-dev] Staging merge will soon happen

2015-05-05 Thread Luca Bruno
On 05/05/2015 13:14, Vladimír Čunát wrote: On 05/03/2015 01:25 PM, Luca Bruno wrote: Because binaries of built staging are available only for that 7f9ccc6 commit, I will merge exactly this commit and not current staging. I think that commit is quite good, it has few build errors. If anybody

[Nix-dev] Staging merge will soon happen

2015-05-03 Thread Luca Bruno
The staging branch is now not polling for git changes anymore. Therefore the last evaluation will finish fast without other parallel builds, which is from 3 days ago. This kind of manual scheduling seemed to be working: http://hydra.nixos.org/jobset/nixpkgs/staging Because binaries of built

Re: [Nix-dev] Assertion failed crossSystem == null

2015-04-29 Thread Luca Bruno
On 29/04/2015 11:57, Vladimír Čunát wrote: On 04/29/2015 03:44 AM, Rahul Muttineni wrote: $ nix-shell -f /path/to/nixpkgs Are you sure that is the command you want? AFAIK people almost always specify some relatively small things by -A or -p or a path to a custom nix expression. Also not -f

Re: [Nix-dev] Possible breaking changes from staging

2015-04-25 Thread Luca Bruno
NM 1.0 and GNOME 3.16.1 have been merged into staging. Hopefully we'll get binaries soon and merge to master. I also hope I didn't break things a lot ;) Best regards, On Wed, Apr 22, 2015 at 11:05 AM, Luca Bruno lethalma...@gmail.com wrote: In this period I'm working on GNOME 3.16

[Nix-dev] Possible breaking changes from staging

2015-04-22 Thread Luca Bruno
In this period I'm working on GNOME 3.16 and NetworkManager 1.0 [1]. In addition to that, glib has been bumped. I'm currently compiling the PR for staging and then merge it if everything works. Below the possible breakages you must be aware of. These updates are necessary to forward our software,

Re: [Nix-dev] Added renameImports utility to goBuildPackage

2015-04-16 Thread Luca Bruno
On 16/04/2015 18:51, Domen Kožar wrote: You can easily add docs for just this feature - without waiting for other docs. Start a section for goBuildPackage (you can steal buildPythonPackage snippet) and document only renameImports. Just done ;) ___

[Nix-dev] Added renameImports utility to goBuildPackage

2015-04-16 Thread Luca Bruno
Sometimes git repos get renamed and break go packages because of different import paths. Since today I've added a simple renameImports utility, not sure if that was worth it because it was easy to do without it, anyway: renameImports = [ foo bar baz qux ]; Will rename imports from foo to bar

Re: [Nix-dev] About gettext and expat

2015-04-08 Thread Luca Bruno
On 07/04/2015 11:41, Eelco Dolstra wrote: Hi, On 02/04/15 18:27, Luca Bruno wrote: Gettext is currently depending only on libc. Gettext is an input to gcc, so that's a very important dependency. However gtk 3.16 now requires gettext to process xml files like glade files, and that requires

Re: [Nix-dev] About gettext and expat

2015-04-03 Thread Luca Bruno
:27, Luca Bruno lethalma...@gmail.com javascript:; wrote: Gettext is currently depending only on libc. Gettext is an input to gcc, so that's a very important dependency. However gtk 3.16 now requires gettext to process xml files like glade files, and that requires xml support via expat

[Nix-dev] About gettext and expat

2015-04-02 Thread Luca Bruno
Gettext is currently depending only on libc. Gettext is an input to gcc, so that's a very important dependency. However gtk 3.16 now requires gettext to process xml files like glade files, and that requires xml support via expat. Gettext is currently compiled so that it finds expat with dlopen,

Re: [Nix-dev] Let's switch the default shell in Nixpks / NixOS tocsh

2015-04-01 Thread Luca Bruno
I think a lot of packages rely on bashism, it's not only a matter of our scripts. Changing to something else will bring more problems than anything else. Also the fact that bash sees more security vulnerabilities it's because it's extremely more adopted than others, which doesn't mean others are

Re: [Nix-dev] Question about organising dependencies not in core nixpkgs?

2015-03-18 Thread Luca Bruno
On 18/03/2015 11:26, Thomas Hunger wrote: Hi, I usually include a shell.nix file in my libraries for development. If I have a dependency not in core nixpkgs then I add a local mkDerivation using let pkg = ... in {} to shell.nix (e.g. [1]). If I now want to use my library in another context,

Re: [Nix-dev] Question about organising dependencies not in core nixpkgs?

2015-03-18 Thread Luca Bruno
On 18/03/2015 12:37, Thomas Hunger wrote: Thanks. That would require having the shell.nix library locally already AFAICT. To rephrase slightly. Ideally I'd like to be able to do: myLibrary = fetchurl { ... }; extraDepends = import ${myLibrary}/depends.nix; buildDepends = [ ... ] ++

Re: [Nix-dev] Some bug tracker experience and RFC on improvements

2015-03-16 Thread Luca Bruno
On 16/03/2015 00:43, Austin Seipp wrote: Hi *, Over the past few days, while I've been waiting for things to compile, I've been casually triaging the NixOS pull request list and the actual bug list, adding labels to everything to categorize issues. I think all of the PRs open as of today are

Re: [Nix-dev] synaptics touchpad configuration question

2015-03-15 Thread Luca Bruno
You can check the contents of xorg.conf, look at ps ax there should be the X process running with a particular configuration. Look there if there's any culprit with the config first. On Sat, Mar 14, 2015 at 5:11 PM, Brandon Barker brandon.bar...@cornell.edu wrote: I have the following in my

Re: [Nix-dev] How to find the currently active glibc to be able to specify the include path in YCM?

2015-03-08 Thread Luca Bruno
There's no single active glibc. You can write a nix expression to print the out path of glibc from a nixpkgs commit. On Sun, Mar 8, 2015 at 11:04 AM, Matthias Beyer m...@beyermatthias.de wrote: Hi, I have the problem that youcompleteme (YCM) does not find my headers from glibc. So, how to

Re: [Nix-dev] Resolve conflicting packages by overloading?

2015-03-04 Thread Luca Bruno
On 03/03/2015 00:02, Joel Moberg wrote: If I install a package that provides a resource that already exist in the environment I get a conflict, and from nix-env I get the suggestion to change the priority. Instead of setting priority, is there a way to instead specify which resources in a

Re: [Nix-dev] Getting started with cloned nixpkgs: multiple errors and other questions

2015-03-03 Thread Luca Bruno
On 03/03/2015 15:09, Jesse Haber-Kucharsky wrote: Hi everyone. I've successfully installed NixOS and subscribed to the unstable channel and everything there seems to be working well. I started having problems when I wanted to start contributing packages and upgrades to nixpkgs. I cloned

Re: [Nix-dev] Fwd: [NixOS] Your organization application has been rejected.

2015-03-03 Thread Luca Bruno
Think that not even blender has been accepted this year: https://twitter.com/tonroosendaal/status/57247337964832 On Tue, Mar 3, 2015 at 12:26 AM, Raahul Kumar raahul.ku...@gmail.com wrote: Disappointing, but perhaps approaching lecturers might be a better bet. There are uni students who

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

2015-02-24 Thread Luca Bruno
Pushed to staging. On Mon, Feb 23, 2015 at 9:21 PM, Bjørn Forsman bjorn.fors...@gmail.com wrote: 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

Re: [Nix-dev] Underspecified 'disabled' attributes in python-packages.nix

2015-02-24 Thread Luca Bruno
On 24/02/2015 16:29, Peter Simons wrote: Hi guys, many Python packages specify an attribute that disables build attempts in certain packages sets, like this: beaker = buildPythonPackage rec { name = Beaker-1.6.4; disabled = isPy3k; [...] }; Unfortunately, that

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 3.14

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] spamassassin module

2015-02-18 Thread Luca Bruno
On 17/02/2015 23:59, Eike wrote: Hello, I'm trying to add spamassassin to my email setup. So I added this to my configuration.nix: services.spamassassin = { enable = true; debug = true; }; I then tried with `systemctl start spamd' which failed, because of missing

Re: [Nix-dev] Mesa is still at 10.2.9

2015-02-02 Thread Luca Bruno
On 30/01/2015 07:02, Elias Gabriel Amaral da Silva wrote: I'm not sure if this is the right forum to ask this, but what would take to get the mesa in nixpkgs to 10.4.3? Is this planned at all? Does each package have some maintainer? This is the package, and maintainers are listed there:

Re: [Nix-dev] exclude $out/lib when building system-path

2015-01-29 Thread Luca Bruno
On 29/01/2015 15:32, Eike wrote: Hi all, I'm building a (java) program that produces a $out/lib folder with some things in it. But it is not a linux program, just using a similiar directory structure. Thus I don't want it to be linked into the environment. Is there an option to prevent nix

Re: [Nix-dev] setting environment values.

2015-01-28 Thread Luca Bruno
On 27/01/2015 19:48, Tim Sears wrote: I am writing a nix expression to port some libraries from another distro. The libraries have slightly non-standard locations so I would typically add some line to my .bashrc file like export SOMEVAR=somestring export SOMEPATH=/opt/path/to/libs export

Re: [Nix-dev] Multiple instances - detecting resource collisions - nixos module system question

2015-01-19 Thread Luca Bruno
On 19/01/2015 10:24, Domen Kožar wrote: This could not be PITA if systemd would have the ability to white list ports for a process (or with network namespaces). It would add a burdon to maintainers of nixos modules. But since we don't have system support, I think it's overall better to avoid

Re: [Nix-dev] Multiple instances - detecting resource collisions - nixos module system question

2015-01-19 Thread Luca Bruno
On 19/01/2015 03:44, Shea Levy wrote: My prediction: This will cause more headaches than it will save. Double quote. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Decision Procedures

2015-01-19 Thread Luca Bruno
On Mon, Jan 19, 2015 at 9:58 PM, Michael Raskin 7c6f4...@mail.ru wrote: We did already some helpful steps (travis for PRs, staging and release branches, ...), but we probably need some more. Travis is not a good fit to us, as it times out all the time. It's a pity. I am not sure initial

Re: [Nix-dev] Again: Why don't these people have commit access

2015-01-18 Thread Luca Bruno
Marc I think it's the general case of more complex PRs. PR that change too much or add too much tend to be delayed. Not only because they are harder to test, but also harder to agree on by more people. Easy PR are in fact faster to be pushed. Increasing the number of committers is certainly

Re: [Nix-dev] Decision Procedures (was: PR [member] label)

2015-01-18 Thread Luca Bruno
The problem about being cheap and yet being thought is because basically we don't have a policy. For example the recent issue about nginx with Restart and RestartSec. What should be the default Restart for our services? RestartSec? Should they wait for network or not? Ecc. I'd ask everybody about

Re: [Nix-dev] Multiple instances - detecting resource collisions - nixos module system question

2015-01-15 Thread Luca Bruno
On 15/01/2015 01:23, Nicolas Pierron wrote: On Wed, Jan 14, 2015 at 11:17 PM, Marc Weber marco-owe...@gmx.de wrote: If you use multiple apaches/nginx/mysql/postgresql/whatever instances its likely to miss adjusting the port or whatsoever. Therefore I'd like to implement a simple resource

Re: [Nix-dev] per project env conf

2015-01-15 Thread Luca Bruno
On 15/01/2015 15:10, Catonano wrote: Hello, how do I set a development environment in my project folder ? Ideally I'd like to deploy the env setup together with the code so people won't get mad in setting up an env in order to contribute to the project I set my .nixpkgs/config.nix to {

Re: [Nix-dev] Using Nix with external (but 'pure') dependencies

2015-01-14 Thread Luca Bruno
...@gmail.com wrote: We could try to compile with ICC instead if that would be the only thing we'd have to cp/patchelf. Is it likely we could re-use library derivations with { cc = icc } in that case, or would we have to write some for BLAS as well as our own tools? On 14 January 2015 at 12:41, Luca

Re: [Nix-dev] Using Nix with external (but 'pure') dependencies

2015-01-14 Thread Luca Bruno
On 14/01/2015 18:17, Ben Darwin wrote: You can't recompile those BLAS and LAPACK with the intel compiler using nix? In principle yes, but (a) wouldn't we encounter the same problem writing a Nix expression for icc, since it's only available to us as a binary on the system? (b) we'd need to

Re: [Nix-dev] Using Nix with external (but 'pure') dependencies

2015-01-14 Thread Luca Bruno
On 14/01/2015 17:59, Ben Darwin wrote: Hello, I am new to Nix and am considering it for the following use case and wonder if it would work, and, if so, how best to implement it: We run processing pipelines on two compute clusters. We control one of these, but on the other we use

Re: [Nix-dev] Using Nix with external (but 'pure') dependencies

2015-01-14 Thread Luca Bruno
On 14/01/2015 18:36, Ben Darwin wrote: Currently we compile with GCC, and we'd probably be willing to continue doing so since libraries do much of our heavy lifting. Then you are left with packing the libs as nix derivation with patchelf, and pray it works :)

Re: [Nix-dev] Encrypted root: LUKS over LVM

2015-01-04 Thread Luca Bruno
Yes, as James says, you should really mount /mnt first. Mounting /mnt after /mnt/boot means that /mnt/boot is seen empty. On Sun, Jan 4, 2015 at 10:35 PM, James Cook james.c...@utoronto.ca wrote: On 4 January 2015 at 12:04, Nikita Karetnikov nik...@karetnikov.org wrote: I’m trying to

Re: [Nix-dev] Static Executable: Patchelf fails me

2015-01-04 Thread Luca Bruno
Not an expert here, but maybe the binary is so much stripped that patchelf is not able to determine the right offsets for patching the binary. About the segfault, maybe it spawns some other process and the libs are not propagated? That may explain why the symlink works. On Mon, Jan 5, 2015 at

Re: [Nix-dev] Multiple MySQL instances (or nginx/apache/...)

2015-01-03 Thread Luca Bruno
Let's not break the discussion in two places. It started on the github issue and can be kept there. On Sat, Jan 3, 2015 at 2:23 PM, Marc Weber marco-owe...@gmx.de wrote: How should this be written in the future ? I've submitted a pull request which tries to change not much lines to reach my

Re: [Nix-dev] NixOS 14.12 released

2014-12-31 Thread Luca Bruno
Thanks a lot to everybody for the effort. Will be a great release. On Wed, Dec 31, 2014 at 2:13 PM, Rok Garbas r...@garbas.si wrote: Awesome news! tnx everybody. Domen you rock! On Wed, Dec 31, 2014 at 1:29 PM, Jascha Geerds j...@ekby.de wrote: Awesome! Thanks to everyone and especially

Re: [Nix-dev] Nix as an Erlang Package Manager

2014-12-31 Thread Luca Bruno
I get an empty response from the server from those urls. Nix is currently re-packaging python, haskell, nodejs packages etc. So I'm sure nix would do the job for erlang too, without the need to roll your own package manager. On Wed, Dec 31, 2014 at 3:29 AM, Eric des Courtis

Re: [Nix-dev] Change in networking with 15.05?

2014-12-31 Thread Luca Bruno
Could you try reverting cbd30b2bde17a87075138cf0443f110e5ac0e373 ? On Tue, Dec 30, 2014 at 5:44 PM, Thomas Bereknyei tombe...@gmail.com wrote: Upgrading from 14.02pre5678.gfedcba to the nixos-unstable ( http://nixos.org/releases/nixos/unstable/nixos-15.05pre54730.cbe467e/) seems to removes

Re: [Nix-dev] Adoption of C4

2014-12-19 Thread Luca Bruno
On 19/12/2014 17:21, stewart mackenzie wrote: Checking that the patch is correct then hitting the merge button is hardly dirty work, but its better than deep code review maintainers burning out, whom tend to become a tad nasty. Causing a vicious cycle. Who does the dirty work? Those people

Re: [Nix-dev] Avoiding threads in the daemon

2014-12-19 Thread Luca Bruno
On Fri, Dec 19, 2014 at 10:31 PM, Ludovic Courtès l...@gnu.org wrote: Hmm, I’m not convinced about the whole threads-for-convenience approach à la Java. (I think the ideal is a single-threaded event loop; of course we want to avoid IoC, and this is where FRP or monads come in.) It is

Re: [Nix-dev] Ejabberd Options

2014-12-16 Thread Luca Bruno
On 16/12/2014 05:31, stewart mackenzie wrote: Luca, here is my config, I've stripped everything that isn't pertinent to the testing setup (which will use NixOS). I've pointed my hydra nixpkgs jobset input to my github nixpkgs fork on the ejabberd branch which contains this commit:

Re: [Nix-dev] Adding a name to mantainers list via ~/.nixpkgs/config.nix

2014-12-16 Thread Luca Bruno
On 16/12/2014 04:58, Carlo Nucera wrote: Hi Bruno, I don't know how to do that mantaing my ~/.nixpkgs/config.nix, which looks like: { packageOverrides = pkgs: rec { haskellPackages = pkgs.recurseIntoAttrs ( pkgs.haskellPackages.override { extension = self: super:

Re: [Nix-dev] Ejabberd Options

2014-12-16 Thread Luca Bruno
On 16/12/2014 10:56, stewart mackenzie wrote: Absolutely Luca, you're absolutely right. I suspect a book needs to be written on NixOS + Hydra + Nixops, this will be a good way to formalize knowledge and share it. Do you know of any books in progress? The best you can do is reading the nix

Re: [Nix-dev] How do I chroot into my NixOS partition?

2014-12-16 Thread Luca Bruno
No need for --chroot, it already uses /mnt. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] How do I chroot into my NixOS partition?

2014-12-16 Thread Luca Bruno
the symlinks. On Wed, Dec 17, 2014 at 12:01 AM, Jascha Geerds j...@ekby.de wrote: On Tue, Dec 16, 2014, at 23:56, Luca Bruno wrote: No need for --chroot, it already uses /mnt. I think he would like to chroot into an existing NixOS installation. As far as I know nixos-install is only used for new

Re: [Nix-dev] Ejabberd Options

2014-12-15 Thread Luca Bruno
On 15/12/2014 12:28, stewart mackenzie wrote: So with the kind help of this list and on IRC, a private instance of ejabberd can compile over our hydra. Now I need to get these options into the same build as per

Re: [Nix-dev] Adding a name to mantainers list via ~/.nixpkgs/config.nix

2014-12-15 Thread Luca Bruno
On 15/12/2014 13:09, Carlo Nucera wrote: Hi all, I'm packaging some Haskell stuff, and I begin to use the -m option in cabal2nix to add myself as a mantainer for the packages I want to keep in good shape. I'm packaging locally, overwriting the attributes in ~/.nixpkgs/config.nix.

Re: [Nix-dev] Start testing 14.12 (pre-)release

2014-12-11 Thread Luca Bruno
On 11/12/2014 10:07, Tino Breddin wrote: The original PR negated the optionalString condition. Can you test whether that makes it work as expected? No it's not supposed to work like that. It's correct to have that file. Perhaps that file is out of date.

Re: [Nix-dev] Start testing 14.12 (pre-)release

2014-12-10 Thread Luca Bruno
This is a bug, interfaces must still be predictable. May it be a problem introduced by https://github.com/NixOS/nixpkgs/commit/cbd30b2bde17a87075138cf0443f110e5ac0e373 ? On Wed, Dec 10, 2014 at 11:53 PM, Peter Simons sim...@cryp.to wrote: $ nix-channel --add

Re: [Nix-dev] Making Nix use pivot_root in addition to chroot

2014-12-09 Thread Luca Bruno
It still needs linux-user-chroot to be suid, doesn't it? On Tue, Dec 9, 2014 at 9:04 PM, Colin Walters walt...@verbum.org wrote: On Thu, Dec 4, 2014, at 06:24 AM, Harald van Dijk wrote: Hello, I've recently been trying to use Nix in a somewhat different way than NixOS, and the builders

Re: [Nix-dev] Cannot import scipy

2014-12-06 Thread Luca Bruno
First of all, nix-env -i env-scipy installs an environment, that you must load with load-env-scipy. Second, you better add python to the buildInputs. On Sat, Dec 6, 2014 at 4:18 PM, Tom Dimiduk t...@dimiduk.net wrote: I am running nixos-unstable, and having trouble getting scipy to import. I

Re: [Nix-dev] when to use $out/nix-support

2014-12-06 Thread Luca Bruno
Depends on the package. On Sat, Dec 6, 2014 at 4:49 PM, em...@vfemail.net wrote: I have question about Nix proper, independent of Nixpkgs or NixOS. What kinds of attributes are appropriate as passthrough attributes on a derivation set, and which attributes are appropriate to be written out

<    1   2   3   4   >