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 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 problem with the system

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

2014-12-06 Thread Richard Wallace
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 problem with the system tray itself. pasystray uses the same gtk systray API to set the status icon and it works fine (after the PR you merged a bit

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 wrote: > Hi all, > > I use a minima

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

2014-12-06 Thread James Cook
On 5 December 2014 at 08:04, Carlo Nucera 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 install, a variant

[Nix-dev] batti not showing icons in tray

2014-12-06 Thread Richard Wallace
Hi all, I use a minimal desktop with xmonad and I'm trying to find a replacement for xfce4-power-manager since it no longer supports regular system trays. I decided to give batti a try, but the icon in the tray doesn't display properly. Normally I would fix this myself, but when I went to look I

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

2014-12-06 Thread Peter Simons
Hi Carlo, > I wrote the nix expression for abcnotation, and it's not yet present > in the channel. What would be the right way to add an expression made > by me in this setup? run the commands $ cabal2nix cabal://prettify >~/.nixpkgs/prettify.nix $ cabal2nix cabal://abcnotation >~/.nixpkg

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 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 list nix-dev@lists.

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 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 of them was a GHC core p

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 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 w

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 ___ nix

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 ad

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 : > Hello, > > I think the problem occurs because in recent ni

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 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 version,

[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] Cannot import scipy

2014-12-06 Thread Bjørn Forsman
On 6 December 2014 at 16:18, Tom Dimiduk 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 = pkgs.myE

[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

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, 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 to the store

[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 depend

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 wrote: > I am running nixos-unstable, and having trouble getting scipy to import. > > I attempted to f

[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 pkgs.py

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 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 full-time on my main > comput

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 particul

[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 con