[Nix-dev] Low-hanging fruit in NixOS for aspiring developer

2014-12-06 Thread Albin Stjerna
Hi, I'm thinking about getting involved in NixOS, and I'm looking for good places to start learning, beyond trying out NixOS and reading the manual and the papers. Are there any packaging efforts or other low-hanging fruit in particular that I could look at? Also, I'd like to mention that I'm

Re: [Nix-dev] Low-hanging fruit in NixOS for aspiring developer

2014-12-06 Thread phreedom
On Saturday, December 06, 2014 12:02:16 Albin Stjerna wrote: I'm thinking about getting involved in NixOS, and I'm looking for good places to start learning, beyond trying out NixOS and reading the manual and the papers. Are there any packaging efforts or other low-hanging fruit in particular

Re: [Nix-dev] Low-hanging fruit in NixOS for aspiring developer

2014-12-06 Thread Bjørn Forsman
Hi Albin, On 6 December 2014 at 12:02, Albin Stjerna albin.stje...@gmail.com wrote: [...] Also, I'd like to mention that I'm considering a rather serious long-term committment to NixOS if things work out, though I'm waiting for Gnome to become slightly more stable before transitioning

[Nix-dev] Cannot import scipy

2014-12-06 Thread Tom Dimiduk
I am running nixos-unstable, and having trouble getting scipy to import. I attempted to follow the instructions on the nixos python wiki page: https://nixos.org/wiki/Python and have an entry in my config.nix: myScipyEnv = pkgs.myEnvFun { name = scipy; buildInputs = with

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

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

2014-12-06 Thread emery
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 to the store in a nix-support file? Is this just for the sake of registering

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

[Nix-dev] [***SPAM***] when to use $out/nix-support

2014-12-06 Thread Michael Raskin
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 to the store in a nix-support file? Neither of these concepts exists outside of

Re: [Nix-dev] Cannot import scipy

2014-12-06 Thread Bjørn Forsman
On 6 December 2014 at 16:18, Tom Dimiduk t...@dimiduk.net wrote: I am running nixos-unstable, and having trouble getting scipy to import. I attempted to follow the instructions on the nixos python wiki page: https://nixos.org/wiki/Python and have an entry in my config.nix: myScipyEnv =

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

2014-12-06 Thread Carlo Nucera
Hi all. I managed to create a nice setup for haskell development. However, I did: $ sudo nix-channel --update $ sudo nixos-channel rebuild After updating, my haskell installation is broken, ghc-pkg check is full of errors, and the packages I installed no longer load in ghci. I could rollback but

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

2014-12-06 Thread Benno Fünfstück
Hello, I think the problem occurs because in recent nixpkgs hashable was upgraded, but hashable is a GHC core package and thus cannot be replaced. I guess that previously the version provided by GHC was newer than the nixpkgs one, so it shadowed the nixpkgs version. Now, with the upgraded

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

2014-12-06 Thread Peter Simons
Hi, What kinds of attributes are appropriate as passthrough attributes on a derivation set, and which attributes are appropriate to be written out to the store in a nix-support file? passthru attributes are visible in the derivation's attribute set -- i.e. other expressions can see them

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

2014-12-06 Thread Carlo Nucera
Ok, I saw pkgs/top-level/haskell-packages.nix and I understand now what you're talking about. Is there a simple way to patch that value throug my ~/.nix-packages/config.nix file? Carlo Nucera 2014-12-06 17:36 GMT+01:00 Benno Fünfstück benno.fuenfstu...@gmail.com: Hello, I think the problem

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

2014-12-06 Thread Peter Simons
Hi Carlo, ghc-pkg check is full of errors I don't think that ghc-pkg check ever succeeded in any ghc-wrapper based installation. packages I installed no longer load in ghci There is no obvious explanation for the errors you've described. As random suggestion how you might obtain some

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

2014-12-06 Thread Peter Simons
Hi Benno, I think the problem occurs because in recent nixpkgs hashable was upgraded, but hashable is a GHC core package and thus cannot be replaced. hashable is a core library? In which versions of GHC is that so? Best regards, Peter ___

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

2014-12-06 Thread Carlo Nucera
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 Prelude import Control.Monad.State.Lazy These commands worked

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

2014-12-06 Thread Benno Fünfstück
Hi Peter, Oh, I just assumed that since I had two versions of hashable with different cabal hashes installed, that one of them was a GHC core package. But now that I think of it you're probably correct, and this just happened because I did something similar to the following: 1. Install a package

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

2014-12-06 Thread Benno Fünfstück
Or maybe I just have another version of hashable installed system wide via configuration.nix Benno Fünfstück benno.fuenfstu...@gmail.com schrieb am Sa., 6. Dez. 2014 18:57: Hi Peter, Oh, I just assumed that since I had two versions of hashable with different cabal hashes installed, that one

Re: [Nix-dev] [Ann] Sublime Text/TextMate/Atom syntax highlighter

2014-12-06 Thread Colin Putney
On Sun, Nov 30, 2014 at 5:01 PM, Wout Mertens wout.mert...@gmail.com wrote: Hey all, I made a highlighter for Sublime Text, which uses the TextMate format. Atom also seems to use it, as does github. This works nicely. Thanks! ___ nix-dev mailing

Re: [Nix-dev] Guidance on packaging extended-reals

2014-12-06 Thread James Cook
On 5 December 2014 at 08:04, Carlo Nucera medit...@gmail.com wrote: I'd like a suggestion on what to do with the haskell package extended-reals (https://hackage.haskell.org/package/extended-reals), which, when I to package it, yields this error: http://lpaste.net/115721. I'm using, to

Re: [Nix-dev] batti not showing icons in tray

2014-12-06 Thread Luca Bruno
I don't use such trays, but if it's a gtk socket, I fear it's the panel that needs to find the icon because the applet is getting embedded. A wild guess is to try installing batti (try nix-env or systemPackages). On Sun, Dec 7, 2014 at 1:04 AM, Richard Wallace rwall...@thewallacepack.net wrote:

Re: [Nix-dev] batti not showing icons in tray

2014-12-06 Thread Luca Bruno
Maybe the icon is in a non-standard location of the package? On Sun, Dec 7, 2014 at 1:42 AM, Richard Wallace rwall...@thewallacepack.net wrote: Not sure what you mean by try installing batti. I've tried with nix-env and the missing-icon is what is displayed. I'm not convinced that it is a