Re: [Nix-dev] Keeping nixpkgs up to date

2014-08-31 Thread Mateusz Kowalczyk
On 08/31/2014 03:43 PM, Chris Double wrote: > Speed of processing pull requests for new packages is an issue. > Anything that can be done to reduce this would be helpful. It's > demotivating as a contributor to do what seems to be a simple package > update of a minor version and have the pull reque

Re: [Nix-dev] About merge vs non-merge

2014-09-02 Thread Mateusz Kowalczyk
On 09/02/2014 05:51 PM, Luca Bruno wrote: > Somebody does not like merges because it makes the history "less clean". > However, just today, I encountered a case where the merge was needed for > a revert. > > The good thing about the green merge button is that: > 1) It retains a message about the P

Re: [Nix-dev] Some staging regressions

2014-09-02 Thread Mateusz Kowalczyk
On 09/02/2014 01:04 PM, Eelco Dolstra wrote: > Hi, > > On 02/09/14 12:32, Vladimír Čunát wrote: > >> Also pypy tests timeouted on i686-linux... > > There is also a Qt 5 build failure on i686-linux: > > http://hydra.nixos.org/build/13929055 > > It fails because it doesn't pass -lpq to build t

Re: [Nix-dev] "Failed to execute login command"

2014-09-02 Thread Mateusz Kowalczyk
On 09/02/2014 09:44 PM, Luca Bruno wrote: > It happened to me a couple of times after big nixos-rebuild. It may > happened that some X drivers were updated. > > > On Tue, Sep 2, 2014 at 10:33 PM, Bjørn Forsman > wrote: > >> Hi, >> >> Since about a month now, whenever I do "nixos-rebuild switch"

[Nix-dev] haskell: overriding mtl/any builtin

2014-09-06 Thread Mateusz Kowalczyk
Hi, GHC ships with a bunch of libraries that are exposed. How can we override those so that the compilation still succeeds and we don't end up with two versions in scope? A sample use-case is using things which depend on ‘mtl’ >2.1.2. Usually I try to work with upstream to make the bound more fle

Re: [Nix-dev] haskell: overriding mtl/any builtin

2014-09-07 Thread Mateusz Kowalczyk
On 09/07/2014 10:15 AM, Marc Weber wrote: >> mtl choosing versions > Which is the target package you want to use/work on? > > Marc Weber > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev >

Re: [Nix-dev] haskell: overriding mtl/any builtin

2014-09-07 Thread Mateusz Kowalczyk
On 09/07/2014 10:57 AM, Mateusz Kowalczyk wrote: > On 09/07/2014 10:15 AM, Marc Weber wrote: >>> mtl choosing versions >> Which is the target package you want to use/work on? >> >> Marc Weber >> ___ >> nix-dev m

Re: [Nix-dev] GHC pointed at the wrong package

2014-09-08 Thread Mateusz Kowalczyk
On 09/07/2014 10:10 PM, Rickard Nilsson wrote: > On 08/23/2014 03:15 PM, Mateusz Kowalczyk wrote: >> On 08/23/2014 01:29 PM, Peter Simons wrote: >>> Hi Mateusz, >>> >>> > There are problems in package regex-tdfa-1.2.0: >>> > dependency &quo

Re: [Nix-dev] haskell: overriding mtl/any builtin

2014-09-08 Thread Mateusz Kowalczyk
On 09/08/2014 07:36 AM, Peter Simons wrote: > Hi Mateusz, > > > Notably if I specify mtl = mtl_2_2_1; then it complains that it needs > > transformers == 0.4 but there seems to be no clues in nixpkgs as to how > > to achieve this. Currently mtl = 2.2.1 for HEAD but I know it should > > work wi

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Mateusz Kowalczyk
On 09/08/2014 04:56 PM, Richard Wallace wrote: > Hello, > > I'm using nix-shell to setup a Haskell environment for development. On a > project I ran into a problem recently, and I'm curious if there is a > common/preferred way of solving it. > > The problem I ran into is that the project depends

Re: [Nix-dev] haskell: overriding mtl/any builtin

2014-09-09 Thread Mateusz Kowalczyk
On 09/09/2014 01:12 PM, Benno Fünfstück wrote: > There is no problem overriding `mtl` with a newer version than the one GHC > provides assuming we also override all packages depending on mtl. I think > this is possible as long as the package using mtl doesn't depend on the GHC > api (ghc package),

Re: [Nix-dev] Cabal in nix environment producing different binaries

2014-09-09 Thread Mateusz Kowalczyk
On 09/09/2014 06:41 PM, Richard Wallace wrote: > Hello again, > > I got my nix environment all setup for building our Haskell app and went to > deploy it to a development box this morning, only to find out that it > wouldn't run. After doing some inspection, it seems that the binary > produced in

Re: [Nix-dev] Newbie experiences with NixOS

2014-09-09 Thread Mateusz Kowalczyk
On 09/09/2014 06:24 PM, Gergö Barany wrote: > Hi everyone, > > this is a long mail about some of the issues I ran into when I recently > tried to install NixOS 14.04 on my home machine (which is mostly for "fun" > and some software development, but not a server). I ended up not using NixOS > for v

Re: [Nix-dev] Newbie experiences with NixOS

2014-09-09 Thread Mateusz Kowalczyk
On 09/09/2014 07:16 PM, Mateusz Kowalczyk wrote: > On 09/09/2014 06:24 PM, Gergö Barany wrote: >> Hi everyone, >> >> this is a long mail about some of the issues I ran into when I recently >> tried to install NixOS 14.04 on my home machine (which is mostly for

Re: [Nix-dev] pyenchant: new package

2014-09-13 Thread Mateusz Kowalczyk
On 09/13/2014 12:33 PM, Vladimír Čunát wrote: > > Nick: do you want to become a maintainer of all these newly added > packages? It means that you would be getting e-mail when a package > changes status (success/failure), and you would be expected to try to > keep them working. > > On 09/13/201

Re: [Nix-dev] pyenchant: new package

2014-09-13 Thread Mateusz Kowalczyk
On 09/13/2014 06:49 PM, Vladimír Čunát wrote: > On 09/13/2014 07:48 PM, Mateusz Kowalczyk wrote: >> GitHub has a pretty shitty terms of service which is why these patches >> are being sent over e-mail. which is probably* > Can you point me to some explanation why they'r

Re: [Nix-dev] a lot of staging changes from me, shout if I broke something! :)

2014-09-14 Thread Mateusz Kowalczyk
On 09/14/2014 09:37 PM, Gergely Risko wrote: > Hello, > > I've pushed some stdenv changes to staging. > > [snip] > - having a glibc that actually includes libgcc_s.so, making > pthread_cancel work without package specific hacks. Cool, dealing with libgcc_s.so wasted too many hours of my li

[Nix-dev] Channel update knocks my box offline

2014-09-22 Thread Mateusz Kowalczyk
Most recent nixos-unstable channel move knocks my box offline somehow. I can reach my local network but nothing on the outside. My network config[1] is pretty simple. I noticed this few days ago when I tried to switch to master but had no time at that moment to pursue. Considering this and the Gru

Re: [Nix-dev] systemd failed in locating swap

2014-09-23 Thread Mateusz Kowalczyk
On 09/23/2014 08:13 AM, Dmitry Malikov wrote: > Hi. > > Trying to `nixos-rebuild switch` and got something strange. > > [snip] You should say what commit/channel you're at and when was the last time it worked fine, it'd certainly make things easier. -- Mateusz K. __

Re: [Nix-dev] Channel update knocks my box offline

2014-09-23 Thread Mateusz Kowalczyk
On 09/23/2014 01:47 PM, Vladimír Čunát wrote: > On 09/23/2014 08:02 AM, Mateusz Kowalczyk wrote: >> Apparently --rollback felt the need to kill my X session too ;( > > Was it xfce? My experience is that xfce4-session quits when dbus is > restarted, which happens whenever db

Re: [Nix-dev] Channel update knocks my box offline

2014-09-23 Thread Mateusz Kowalczyk
On 09/23/2014 08:46 PM, Mateusz Kowalczyk wrote: > On 09/23/2014 01:47 PM, Vladimír Čunát wrote: >> On 09/23/2014 08:02 AM, Mateusz Kowalczyk wrote: >>> Apparently --rollback felt the need to kill my X session too ;( >> >> Was it xfce? My experience is that xf

Re: [Nix-dev] Channel update knocks my box offline

2014-09-23 Thread Mateusz Kowalczyk
On 09/23/2014 11:47 PM, Corey O'Connor wrote: > The closest I've seen to rollback killing the X session is caused by logind > failing to start. In which case I delete everything under /tmp and reboot. > IIRC logind complains about connecting to a socket. > > -Corey O'Connor > coreyocon...@gmail.co

Re: [Nix-dev] GHC Not picking up installed packages

2014-09-24 Thread Mateusz Kowalczyk
On 09/24/2014 11:47 PM, emil.rang...@chas.se wrote: > follow up: > > ghci -v reported that the bytestring package was unusable somehow, so > the packages that didn't show up where just those that depended on > bytestring. :) > > Deleting random haskell storepaths in my nix-store and then rebuild

Re: [Nix-dev] Zero Hydra Failures (ZHF) project for NixOS

2014-09-29 Thread Mateusz Kowalczyk
On 09/29/2014 12:19 PM, Domen Kožar wrote: > Current status (4 more packages need fixing and one test!): > http://hydra.nixos.org/eval/1153558?full=1#tabs-still-fail > > - lots of transient errors in curl downloads, restarting doesn't always > help: > > * http://hydra.nixos.org/build/14918849 > *

Re: [Nix-dev] Zero Hydra Failures (ZHF) project for NixOS

2014-09-29 Thread Mateusz Kowalczyk
On 09/29/2014 12:35 PM, Domen Kožar wrote: > On Mon, Sep 29, 2014 at 1:31 PM, Mateusz Kowalczyk > wrote: > >> On 09/29/2014 12:19 PM, Domen Kožar wrote: >>> Current status (4 more packages need fixing and one test!): >>> http://hydra.nixos.org/eval/1153558?full

Re: [Nix-dev] Channel update knocks my box offline

2014-09-30 Thread Mateusz Kowalczyk
On 09/23/2014 07:02 AM, Mateusz Kowalczyk wrote: > Most recent nixos-unstable channel move knocks my box offline somehow. I > can reach my local network but nothing on the outside. My network > config[1] is pretty simple. I noticed this few days ago when I tried to > switch to maste

Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-09-30 Thread Mateusz Kowalczyk
On 09/30/2014 12:08 PM, Tim Barbour wrote: > NILFS2 is a log-structured filesystem which is now in the Linux kernel source > tree, and supported by GRUB2. It should appeal to NixOS users because it > avoids destructive update ("changing" a file produces a new version of the > file). > > I have ins

Re: [Nix-dev] Dealing with self-updating packages

2014-09-30 Thread Mateusz Kowalczyk
On 09/19/2014 07:42 PM, Russell O'Connor wrote: > Dear nixers, > > I'm working on packaging gsutil < > https://developers.google.com/storage/docs/gsutil>. This software comes > with a "feature" that it can update itself by downloading the latest > version and replacing itself in place. > > Obvio

Re: [Nix-dev] Mac build machine upgraded

2014-10-09 Thread Mateusz Kowalczyk
On 10/09/2014 05:15 PM, John Wiegley wrote: >> Eelco Dolstra writes: > >> FYI: The Mac machine in the hydra.nixos.org build farm has been upgraded to >> OS X >> 10.9.5 (was 10.6.x). Xcode has been upgraded to 6.0.1. > > And there was much rejoicing!!! > > John > ___

Re: [Nix-dev] Firefox

2014-10-12 Thread Mateusz Kowalczyk
On 10/12/2014 09:03 AM, Catonano wrote: > Hello, > > why is "firefox-with-plugins" not available as a binary ? > > me@my-machine ~$ nix-env -qas | grep firefox > --S firefox-32.0.3 > --S firefox-bin-32.0.3 > --- firefox-with-plugins-13.0.1 > --- firefox-with-plugins-32.0.3 > > and what's the

Re: [Nix-dev] Our policy for upgrading haskellPackages

2014-10-16 Thread Mateusz Kowalczyk
On 10/15/2014 08:27 PM, John Wiegley wrote: > This message is a follow-on to a discuss Peter and I were having on GitHub, > since I believe it is of more general interest: > >>> Peter Simons writes: > >> Generally speaking, the two goals >> >> 1. have recent versions of all major Haskell pa

Re: [Nix-dev] Broken ghc for OS X on cache.nixos.org

2014-10-16 Thread Mateusz Kowalczyk
On 10/16/2014 09:53 PM, Richard Wallace wrote: > Hello all, > > In an effort to get our team to start using nix, I've setup a project of > ours to be built with nix. One obstacle I've run into is that most of the > team (pretty much everyone except me) is using OS X, so I've been trying to > over

Re: [Nix-dev] Upstream nix expressions

2014-10-24 Thread Mateusz Kowalczyk
On 10/23/2014 03:49 PM, Michael Raskin wrote: >> If this thing would be supported, this would give us a good reason to >> push our nix expressions upstream. This would have at least 2 good >> impacts: >> >> - a growing awareness of nix >> - a nice way for all developers to build their package > >

Re: [Nix-dev] A few questions about Arm support and NixOS on a Chrome-book

2014-10-25 Thread Mateusz Kowalczyk
On 10/25/2014 03:58 PM, James Haigh wrote: > Hello, > I also wish to install NixOS on ARM hardware. > I have a series 3 Samsung ARM Exynos 5 Chromebook which I bought > specifically for being an ARM-powered Linux laptop. However, though it > comes with ‘Linux’, Chrome OS is absolutely terri

Re: [Nix-dev] nix-repl / nix-build inconsistency in haskell development

2014-10-25 Thread Mateusz Kowalczyk
On 10/25/2014 01:39 AM, athan.cl...@gmail.com wrote: > Hello everyone, I'm very new to nix, but I've been working with haskell for > a little while and have gotten used to cabal sandboxes and the like. > > After looking at a few example packages, I see that the > .pkgs.haskellPackages.cabal.mkDeri

Re: [Nix-dev] Zero Hydra Failures (ZHF) project for NixOS

2014-10-30 Thread Mateusz Kowalczyk
On 10/27/2014 06:59 PM, Michael Raskin wrote: >> - IRC bot that reports build failures for a range of commits once >> nixos-combined jobset is done > > Would be nice > >> - email to commiters that broke the the build (with a range of commits and >> list of builds failed) > > Would be nice > >>

Re: [Nix-dev] NixOS Live CD (Graphic) Boot Failure

2014-11-02 Thread Mateusz Kowalczyk
On 11/02/2014 05:10 PM, Luca Bruno wrote: > There's no web interface for nixos installations, if that's what you asked > for. Pretty sure he just means that he won't be able to make the install without referring to the web for help. > On Sun, Nov 2, 2014 at 5:46 PM, J. Brian Kelley wrote: > >>

Re: [Nix-dev] configurations repository

2014-11-04 Thread Mateusz Kowalczyk
On 11/04/2014 09:13 PM, Arseniy Seroka wrote: > That's awesome idea. But I think we have to add lots of comments to this > examples (that help a lot while using live code). Or maybe just provide > some ideal configs with comments and other without them. It's impossible to tell what you're replyi

[Nix-dev] Limiting number of Hydra jobs

2014-11-04 Thread Mateusz Kowalczyk
Hi, My Hydra runs or rather limited box, both memory and CPU wise so I'd like to limit the number of jobs it runs. I have nix.maxJobs = 1; set but Hydra does not seem to care: even right now it's running 4 jobs at once (2 for i686 and 2 for x86). I have dealt with it for a longer while but I a

Re: [Nix-dev] Haskell Platform, anyone?

2014-11-08 Thread Mateusz Kowalczyk
On 11/07/2014 07:11 PM, Peter Simons wrote: > Hi guys, > > Haskell Platform 2014.2.0.0 has been released a while ago, and I can't > help noticing that no-one seems to be in a hurry to add that to Nixpkgs. > Apparently, there not much of a demand for Haskell Platform in Nix? > > This makes me wond

Re: [Nix-dev] Terminfo issues with haskell 'vty' package & nix-shell

2014-11-14 Thread Mateusz Kowalczyk
On 11/13/2014 04:20 PM, Michael Jones wrote: > Hi, > > I hope this is the right list. I'm very new to nix and trying to get a set > up working on Ubuntu 14.04 for a small haskell project I have. I use > rxvt-unicode as a shell which generally seems to work fine but when I run > `nix-shell` in a di

Re: [Nix-dev] GHC Panic with basic Yesod project under Nix

2014-11-14 Thread Mateusz Kowalczyk
On 11/14/2014 09:40 PM, Michael Jones wrote: > Hi, > > Not sure where to send this so thought I'd try here to see if anyone has > the same trouble. I'm new to nix and new to Yesod and trying to build the > default Yesod project with 'yesod devel' in a new shell. > > My steps are: > > 1. Create a

Re: [Nix-dev] Fwd: Haskell doctest

2014-11-16 Thread Mateusz Kowalczyk
On 11/12/2014 06:10 PM, Benno Fünfstück wrote: > Ah sorry, I wrote that on my phone so the answer was a bit short :). > > You just type eval $buildPhase while you're in nix-shell. eval is a bash > builtin to execute a bash script from a string, and the buildPhase > environment variable contains th

Re: [Nix-dev] My new email signature

2014-11-18 Thread Mateusz Kowalczyk
On 11/17/2014 11:45 PM, Luca Bruno wrote: > Does it look good on your email clients? :) > > > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev > Thunderbird http://fuuzetsu.co.uk/images

Re: [Nix-dev] Make wrappers be binaries instead of shell scripts?

2014-11-18 Thread Mateusz Kowalczyk
On 11/18/2014 01:32 PM, Wout Mertens wrote: > Hi all, > > I'm wondering if it wouldn't be better to make the application wrapper > scripts generated by makeWrapper be binaries that do the environment > massaging and config in binary code before exec() ing the wrapped program. > > The advantages w

[Nix-dev] Our Haskell setup no longer works with GHC HEAD/soon 7.10

2014-12-11 Thread Mateusz Kowalczyk
Hi, If you build the existing (outdated) GHC HEAD expression from nixpkgs then you'll find that GHC itself works fine. The problem is that it no longer works for packages. If we try to build any package with recent GHC, we'll encounter something like: … [17 of 17] Compiling Main ( HsC

Re: [Nix-dev] Our Haskell setup no longer works with GHC HEAD/soon 7.10

2014-12-11 Thread Mateusz Kowalczyk
On 12/11/2014 10:36 AM, Mateusz Kowalczyk wrote: > Hi, > > If you build the existing (outdated) GHC HEAD expression from nixpkgs > then you'll find that GHC itself works fine. The problem is that it no > longer works for packages. If we try to build any package with recent &g

Re: [Nix-dev] Breaking changes log

2014-12-17 Thread Mateusz Kowalczyk
On 12/17/2014 01:55 PM, Wout Mertens wrote: > Nice though it seems a bit complex. Not sure if it's over-engineered or > just what's needed. > > Also interesting: > *"There have been complaints regarding the comprehensibility of some > upgrade notices and news items in the past. This is understanda

Re: [Nix-dev] Help with ghc errors after nix-channel --update

2014-12-18 Thread Mateusz Kowalczyk
On 12/06/2014 05:29 PM, Carlo Nucera wrote: > Hi Peter > > I added this snippet to my ~/.nix-packages/config.nix > > ghcTestEnv = self.haskellPackages_ghc783.ghcWithPackages (p: with p; [ > mtl > ]); > > and ran: > > $ nix-env -p /tmp/haskell -iA ghcTestEnv > $ /tmp/haskell/bin/ghci

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

2014-12-31 Thread Mateusz Kowalczyk
On 12/31/2014 02:29 AM, Eric des Courtis wrote: > It seems many people on the Erlang mailing list have been contemplating > using Nix as the official Erlang package manager. I think it's an > interesting idea worth exploring. > > Could someone from the Nix team jump in and take a look? Perhaps mak

Re: [Nix-dev] Scala packages in Nix?

2014-12-31 Thread Mateusz Kowalczyk
On 12/31/2014 04:59 PM, Ryan Newton wrote: > Hi all, > > Just recently there was a thread about Erlang adopting Nix as its package > manager. > > Scala already has a package manager (sbt, which uses maven to my limited > understanding). *Has anyone tried to get that working with Nix?* > > My ow

Re: [Nix-dev] A Journey into the Haskell NG infrastructure: Part I

2015-01-09 Thread Mateusz Kowalczyk
On 01/09/2015 10:27 PM, Thomas Hunger wrote: > One thing that'd be useful is documenting how > pkgs/development/haskell-modules/hackage-packages.nix is regenerated and > how to fix common issues. > > E.g. disabling tests done by overriding a package in > haskell-modules/configuration-common.nix. B

[Nix-dev] [Haskell NG] Equivalent of the old eval "$configurePhase" && eval "$buildPhase" && eval "$checkPhase" ?

2015-01-22 Thread Mateusz Kowalczyk
Hi, Before haskell-ng my workflow to check that everything is OK in a package was to nix-shell and run the above commands. I could also rebuild and run tests again that way but apparently that no longer works: even Setup file is no longer compiled. ‘genericBuild’ only works for installations which

Re: [Nix-dev] [Haskell NG] Equivalent of the old eval "$configurePhase" && eval "$buildPhase" && eval "$checkPhase" ?

2015-01-22 Thread Mateusz Kowalczyk
On 01/22/2015 05:52 PM, Mateusz Kowalczyk wrote: > Hi, > > Before haskell-ng my workflow to check that everything is OK in a > package was to nix-shell and run the above commands. I could also > rebuild and run tests again that way but apparently that no longer > works: eve

Re: [Nix-dev] [Haskell NG] Equivalent of the old eval "$configurePhase" && eval "$buildPhase" && eval "$checkPhase" ?

2015-01-22 Thread Mateusz Kowalczyk
On 01/22/2015 09:54 PM, Peter Simons wrote: > Hi Mateusz, > > > What's the new in-shell workflow? > > Does http://permalink.gmane.org/gmane.linux.distributions.nixos/15524 help? > > Best regards, > Peter > > ___ > nix-dev mailing list > nix-dev@lists

Re: [Nix-dev] [Haskell NG] Equivalent of the old eval "$configurePhase" && eval "$buildPhase" && eval "$checkPhase" ?

2015-01-23 Thread Mateusz Kowalczyk
On 01/23/2015 07:57 AM, Peter Simons wrote: > Hi Mateusz, > > >> Does http://permalink.gmane.org/gmane.linux.distributions.nixos/15524 > help? > > > > Yes though it seems that we now need to update two files when making > > any changes: default.nix so that we can callPackage it in overrides >

Re: [Nix-dev] strongSwan problem

2015-02-14 Thread Mateusz Kowalczyk
On 02/10/2015 04:22 PM, Bas van Dijk wrote: > I was wondering if somebody here has experience with strongSwan on NixOS. > > I'm having a problem connecting to a gateway as I described in the > following mail to the strongSwan mailinglist: > > https://lists.strongswan.org/pipermail/users/2015-Febr

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

2015-02-19 Thread Mateusz Kowalczyk
On 02/19/2015 09:40 AM, Nikita Karetnikov wrote: >> Looking at the source (nixos/modules/services/audio/mpd.nix), it looks >> like the mpd service is designed to run as the mpd user. If you are >> willing to go with that design, I guess you should not set >> services.mpd.dataDir, and make sure the

[Nix-dev] haskell-ng: shell.nix magic to infer .env?

2015-02-24 Thread Mateusz Kowalczyk
Hi, With old Haskell setup we'd essentially have a shell.nix that was a bit like let pkgs = import {} some_stuff = …; in some_stuff.callPackage ./. {}; or some variation thereof. This allowed us to both nix-shell *and* nix-build shell.nix out of the box. But with haskell-ng we end up with

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-24 Thread Mateusz Kowalczyk
On 02/22/2015 12:04 PM, Peter Simons wrote: > Hi Cody, > > > haskellngPackages doesn't seem to have all versions of all dependencies... > > I'm not sure what you mean by "all versions of all dependencies". Dependencies > of what exactly? The way I understand the term, "dependency" has meaning on

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-24 Thread Mateusz Kowalczyk
this today then I nix-build a package, see what version in complains about, add the package to the project's set and repeat until physically ill. > > On Tue, Feb 24, 2015 at 5:38 PM, Mateusz Kowalczyk > wrote: >> On 02/22/2015 12:04 PM, Peter Simons wrote: >>> Hi Cody

Re: [Nix-dev] "nix-env -i ruby" installs bundler, not ruby

2015-03-14 Thread Mateusz Kowalczyk
On 03/09/2015 04:58 PM, Bjørn Forsman wrote: > Hi all, > > I'm on the stable 14.12 branch and decided to install ruby: > > $ ruby > The program ‘ruby’ is currently not installed. You can install it by typing: > nix-env -i ruby > > But what I get from running "nix-env -i ruby" is not ruby

[Nix-dev] Use GHC 7.10.1 as default Haskell compiler in nixpkgs

2015-03-27 Thread Mateusz Kowalczyk
Hi, GHC 7.10.1 was officially released this morning. I wonder what the stance is to switching over to it as a default. If I remember correctly, we switched do 7.8.x very quickly when that came out. -- Mateusz K. ___ nix-dev mailing list nix-dev@lists.s

Re: [Nix-dev] Use GHC 7.10.1 as default Haskell compiler in nixpkgs

2015-03-27 Thread Mateusz Kowalczyk
t a specific version. We do this for > mysql in NixOS for example. > >> On Mar 27, 2015, at 12:17 PM, Mateusz Kowalczyk >> wrote: >> >> Hi, >> >> GHC 7.10.1 was officially released this morning. I wonder what the >> stance is to switching over to it as

Re: [Nix-dev] Use GHC 7.10.1 as default Haskell compiler in nixpkgs

2015-03-27 Thread Mateusz Kowalczyk
On 03/27/2015 05:12 PM, Michael Alan Dorman wrote: > My understanding is that there may be a number of pkgs that fail to > build, for admittedly minor reasons. This is from the Stackage > maintainer, who presumably has a high level perspective on this. > > Mike > Where are you seeing this? The o

Re: [Nix-dev] Use GHC 7.10.1 as default Haskell compiler in nixpkgs

2015-04-03 Thread Mateusz Kowalczyk
On 04/02/2015 11:21 PM, Peter Simons wrote: > Hi guys, > > I believe that we should switch our default compiler to GHC 7.10.1 > within the next three or four weeks -- assuming that no major bug is > discovered in that compiler. It is true that this update will break some > packages, but GHC versio

Re: [Nix-dev] Use GHC 7.10.1 as default Haskell compiler in nixpkgs

2015-04-03 Thread Mateusz Kowalczyk
On 04/03/2015 04:31 PM, Mateusz Kowalczyk wrote: > On 04/02/2015 11:21 PM, Peter Simons wrote: >> Hi guys, >> >> I believe that we should switch our default compiler to GHC 7.10.1 >> within the next three or four weeks -- assuming that no major bug is >> discov

Re: [Nix-dev] HaskellNG and taffybar

2015-04-13 Thread Mateusz Kowalczyk
On 02/24/2015 05:14 PM, Benno Fünfstück wrote: > Nixpkgs contains a patched ghc-paths package that allows you to specify the > path to ghc at runtime using the NIX_GHC environment variable. This didn't end up working well and dyre's master instead just runs GHC from PATH which also is not great. T

Re: [Nix-dev] Switch to GHC 7.10.1 is imminent

2015-04-18 Thread Mateusz Kowalczyk
On 04/18/2015 08:08 PM, Thomas Hunger wrote:> +1 as well. I repeatedly ran into the issue where GHC package hashes > changed which IIUC is fixed in 7.10. Can't wait to start testing. Well, I wouldn't say fixed. It's better at least. There are still chances that you'll get different package ID such

[Nix-dev] Using the NixOS Hydra module leads to infinite recursion

2015-04-18 Thread Mateusz Kowalczyk
Hi, For a while now I've been binding hydra = fetchgit… and then require = [ ${hydra}/hydra-module.nix ] later down the file and using the module options that way. This worked fine but now I get infinite recursion when I try it. Does anyone know what changed and/or how to fix it? [root@yuuki:~]#

Re: [Nix-dev] Using the NixOS Hydra module leads to infinite recursion

2015-04-20 Thread Mateusz Kowalczyk
On 04/20/2015 12:24 PM, Eelco Dolstra wrote: > Hi, > > On 19/04/15 01:20, Mateusz Kowalczyk wrote: > >> For a while now I've been binding hydra = fetchgit… and then require = [ >> ${hydra}/hydra-module.nix ] later down the file and using the module >> options t

[Nix-dev] Depending on a service from inside an expression?

2015-04-27 Thread Mateusz Kowalczyk
Hi, There is a project that as part of its tests has to create a postgresql database which means that the postgres server needs to be running. Is there an easy way to achieve this? How does one go about testing such packages to begin with? -- Mateusz K. _

Re: [Nix-dev] Nix loves Haskell: the video

2015-05-22 Thread Mateusz Kowalczyk
On 05/22/2015 10:38 PM, Peter Simons wrote: > Hi folks, > > Rok Garbas kindly organized a NixOS meetup in Berlin the other day [1], > and I used the occasion to talk about Haskell NG. The presentation was > advertised as: > > We'll look at how Nix can replace "cabal-install" in your development

Re: [Nix-dev] No more multi-threaded builds for Haskell libraries

2015-06-06 Thread Mateusz Kowalczyk
On 06/06/2015 12:53 PM, Peter Simons wrote: > Fellow Nix'ers, > > friendly supporters of the cause from all over the world have run a few > thousand Haskell builds in the name of learning more about the effects > of our favorite GHC bug [2]. It's fair to say that the CPU cycles > invested into thi

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

2015-07-01 Thread Mateusz Kowalczyk
On 07/01/2015 01:01 PM, Luca Bruno wrote: > 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 fo

Re: [Nix-dev] How to set a specific GHC version?

2015-08-07 Thread Mateusz Kowalczyk
On 08/07/2015 06:30 AM, Hilco Wijbenga wrote: > On 6 August 2015 at 01:30, Eric Sagnes wrote: >> Have you tried the example from the manual [1]? >> You can set GHC version by changing the "ghc7101" of the >> first line to the version name you want. > > I tried similar things but with haskellngPac

[Nix-dev] A few questions from a NixOS newbie.

2014-04-21 Thread Mateusz Kowalczyk
Greetings, I have been planning to move to NixOS for quite a few months now but only yesterday I finally clobbered my old /. Like many others, I'm a Haskeller looking for a better development environment than we can sanely achieve with cabal sandboxes. Anyway, to the point. I have a few questions

Re: [Nix-dev] A few questions from a NixOS newbie.

2014-04-21 Thread Mateusz Kowalczyk
> use it, you have to change the package's dependency with { glibc = > pkgs.glibc_2_17 } or so. Ah, OK, great! > Please excuse that I only answered some of > your questions. No problem, I do not expect anyone to know or post the answer to all of them. > Cheers, >

Re: [Nix-dev] A few questions from a NixOS newbie.

2014-04-21 Thread Mateusz Kowalczyk
On 04/21/2014 04:34 PM, Kirill Elagin wrote: > Right, pretty cool, but still needs a sane frontend. I mean, JSON is way > better than, say, XML, but… > And the problem with nix-env is that it's damn slow (not as slow as > `emerge` of course, but way slower than `eix`). > > I was going to write som

[Nix-dev] Broken OpenGL

2014-04-21 Thread Mateusz Kowalczyk
Hi, My OpenGL seems to be rather broken. When I first start my X session (currently boots into KDE), things using OpenGL do render, but they have problems: In the game Tibia, things that don't need refreshing every frame (the UI and such) flicker like mad or stay black for a while until somethin

Re: [Nix-dev] Broken OpenGL

2014-04-22 Thread Mateusz Kowalczyk
On 04/22/2014 09:29 AM, Lluís Batlle i Rossell wrote: > Do you mean that gl worked for you in other distros? In previous NixOS > versions? > > Or it has always been like this? > The thing is that while moving distros, at the same time I moved machines: I used a ThinkPad X61s in the past with Ge

Re: [Nix-dev] Broken OpenGL

2014-04-22 Thread Mateusz Kowalczyk
On 04/22/2014 10:00 AM, Vladimír Čunát wrote: > On 04/22/2014 01:12 AM, Mateusz Kowalczyk wrote: >> OpenGL vendor string: VMware, Inc. > > Are you running NixOS in VMware? If so, it is a significant difference. > I have no experience with that, but at the very least we have &q

Re: [Nix-dev] Broken OpenGL

2014-04-25 Thread Mateusz Kowalczyk
On 04/22/2014 01:12 AM, Mateusz Kowalczyk wrote: > Hi, > > My OpenGL seems to be rather broken. > > When I first start my X session (currently boots into KDE), things using > OpenGL do render, but they have problems: > > In the game Tibia, things that don't need r

[Nix-dev] Getting pulseaudio to play nicely with MPD

2014-04-25 Thread Mateusz Kowalczyk
Greetings, As OSS is not packaged (yet), ALSA and pulseaudio seemed like the next step. As usual with pulseaudio it means a lot of tears. After a while I managed to have separate ‘mpv’ instances to play together nicely by using an override with pulseSupport = true. I have a problem if I try to u

Re: [Nix-dev] Getting pulseaudio to play nicely with MPD

2014-04-25 Thread Mateusz Kowalczyk
On 04/25/2014 10:17 PM, Mateusz Kowalczyk wrote: > Greetings, > > As OSS is not packaged (yet), ALSA and pulseaudio seemed like the next > step. As usual with pulseaudio it means a lot of tears. > > After a while I managed to have separate ‘mpv’ instances to play > togeth

Re: [Nix-dev] Broken OpenGL

2014-04-25 Thread Mateusz Kowalczyk
On 04/25/2014 10:17 PM, Lluís Batlle i Rossell wrote: > On Fri, Apr 25, 2014 at 10:08:40PM +0200, Mateusz Kowalczyk wrote: >> On 04/22/2014 01:12 AM, Mateusz Kowalczyk wrote: >>> Hi, >>> >>> My OpenGL seems to be rather broken. >> >> I had sinc

[Nix-dev] nix-shell cannot create directory followed by closeNest: command not found

2014-04-26 Thread Mateusz Kowalczyk
Hi, I wanted to write some code for the Yi text editor today. It is a Haskell program and I wanted to use nix to help me develop it. After all, the ability to do this is one of the main reasons why I went for NixOS. I followed instructions at [1] and using the Project Sandboxes section, I have ar

Re: [Nix-dev] nix-shell cannot create directory followed by closeNest: command not found

2014-04-27 Thread Mateusz Kowalczyk
On 04/27/2014 11:16 AM, Luca Bruno wrote: > If you are using nixos unstable, try upgrading. That's related to a > gdkpixbuf package bug that has been solved recently. > > > On Sun, Apr 27, 2014 at 7:18 AM, Mateusz Kowalczyk > wrote: > >> Hi, >> >>

[Nix-dev] Exposing Haskell library + binary when using nix-shell and cabal build

2014-04-27 Thread Mateusz Kowalczyk
Hello, I'm trying to work on Yi, the text editor written in Haskell. Following [1] and with some help on this list, I managed to get nix-shell working. As I understand it, I should be able to use it instead of cabal sandboxes. There is a problem with this approach that I don't know how to get ar

[Nix-dev] How to actually get rid of things from the nix-env -qs list?

2014-04-28 Thread Mateusz Kowalczyk
Hi, I just finished packaging livestreamer and while doing it, I wanted to try it out with multiple Python versions to see which work. I wrote the relevant bit then set off to nix-env. I run nix-env -f . -i python3.3-livestreamer, it installs and runs fine. Great. Now I want to try the 2.7 versio

Re: [Nix-dev] How to actually get rid of things from the nix-env -qs list?

2014-04-28 Thread Mateusz Kowalczyk
On 04/28/2014 09:23 AM, Marc Weber wrote: > Excerpts from Mateusz Kowalczyk's message of Mon Apr 28 09:38:41 + 2014: >> IP- python2.7-livestreamer-1.8.0 >> IP- python3.3-livestreamer-1.8.0 > > Which one is active? That's what priorities are about, those who > have higher priorities will be lin

Re: [Nix-dev] How to actually get rid of things from the nix-env -qs list?

2014-04-28 Thread Mateusz Kowalczyk
On 04/28/2014 09:34 AM, aszlig wrote: > On Mon, Apr 28, 2014 at 09:38:41AM +0000, Mateusz Kowalczyk wrote: >> Well, I managed to install the software with both 2.7 and 3.3 but I have >> no idea which one is active at the moment. I also don't know how to get >> rid of 2.

Re: [Nix-dev] How to actually get rid of things from the nix-env -qs list?

2014-04-28 Thread Mateusz Kowalczyk
On 04/28/2014 12:55 PM, Kirill Elagin wrote: > On Mon, Apr 28, 2014 at 1:38 PM, Mateusz Kowalczyk > wrote: > >> nix-env -qs shows something like >> >> IP- python3.3-livestreamer-1.8.0 >> >> Where is the ‘IP-’ bit documented? As far as I know, the last lett

[Nix-dev] Trying to nix-shell a Haskell package tries to build its older version.

2014-04-30 Thread Mateusz Kowalczyk
Hi, There are some patches in git repository of HTTP Haskell package that I need so I thought, hey, I'll just make a default.nix there and play with it that way. However, when I run NIX_PATH=/home/shana/programming nix-shell it does not build. In fact, in the build log (attached as ‘blog’), I c

[Nix-dev] Try to build first time: fails. Try to build again: succeeds. What the hell?

2014-05-01 Thread Mateusz Kowalczyk
Hello, I've been trying to get a newer version of GHC under the GHC HEAD package in nixpkgs. I located some sources and packaged them up and sent a PR at [1]. As pointed out, those sources fail to compile. You can see the error message right on the PR and I can replicate it. However, if I try to

Re: [Nix-dev] Trying to nix-shell a Haskell package tries to build its older version.

2014-05-02 Thread Mateusz Kowalczyk
On 05/01/2014 07:44 AM, Mateusz Kowalczyk wrote: > Hi, > > There are some patches in git repository of HTTP Haskell package that I > need so I thought, hey, I'll just make a default.nix there and play with > it that way. > > However, when I run > > NIX_PATH=/

[Nix-dev] GHC 7.8.2-binary.nix to bootstrap GHC HEAD

2014-05-02 Thread Mateusz Kowalczyk
Amongst my struggles to get recent GHC HEAD snapshots to work on NixOS, I noticed that GHC 7.4.2 is used to bootstrap it. Perhaps that's what's causing the problems[1] so my current goal is to make a binary install of GHC 7.8.2 work. To be clear, I want to be able to install the GHC 7.8.2 binary pr

Re: [Nix-dev] GHC 7.8.2-binary.nix to bootstrap GHC HEAD

2014-05-02 Thread Mateusz Kowalczyk
On 05/03/2014 07:15 AM, Mateusz Kowalczyk wrote: > Amongst my struggles to get recent GHC HEAD snapshots to work on NixOS, > I noticed that GHC 7.4.2 is used to bootstrap it. Perhaps that's what's > causing the problems[1] so my current goal is to make a binary install > of

Re: [Nix-dev] GHC 7.8.2-binary.nix to bootstrap GHC HEAD

2014-05-02 Thread Mateusz Kowalczyk
On 05/03/2014 07:42 AM, Mateusz Kowalczyk wrote: > On 05/03/2014 07:15 AM, Mateusz Kowalczyk wrote: >> Amongst my struggles to get recent GHC HEAD snapshots to work on NixOS, >> I noticed that GHC 7.4.2 is used to bootstrap it. Perhaps that's what's >> causing the pr

Re: [Nix-dev] Looks like Hydra is out of disk space

2014-05-04 Thread Mateusz Kowalczyk
On 05/03/2014 11:21 PM, Bjørn Forsman wrote: > On 2 May 2014 23:30, Bjørn Forsman wrote: >> http://hydra.nixos.org/build/10778489/nixlog/1/tail-reload > > Oops, did I send a bad link? > > This one then[1]: > > ln: failed to create symbolic link > ‘/nix/var/nix/gcroots/tmp/17831.drv’: No space

  1   2   3   >