[Nix-dev] [nix-dev] Re: Developing R modules with nix

2014-09-15 Thread Michel Kuhlmann
> if you write that code like so instead: > > packageOverrides = super: let self = super.pkgs; in > { > rWrapper = super.rWrapper.override { > packages = with self.rPackages; [ Defaults data_table ]; > }; > }; > > then it should work just fine. 'super' refers to the package s

Re: [Nix-dev] Need help with virtualenv and python2.6

2014-09-15 Thread Jascha Geerds
ah, I've always created an environment with python27Packages.virtualenv (and not 2.6). I think this is a very stupid mistake by me... :-) -- Jascha Geerds j...@ekby.de ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/

Re: [Nix-dev] Need help with virtualenv and python2.6

2014-09-15 Thread Cillian de Róiste
On Tue, Sep 16, 2014 at 12:23 AM, Cillian de Róiste wrote: > Hi Jascha, > > I wonder how you have python2.7 stuff in the traceback. It seems to > work fine for me: > > $ nix-shell -p python26Packages.virtualenv -p python26 > > [nix-shell:~]$ virtualenv --python=python2.6 venv2.6test/ > Already usi

Re: [Nix-dev] Need help with virtualenv and python2.6

2014-09-15 Thread Cillian de Róiste
Hi Jascha, I wonder how you have python2.7 stuff in the traceback. It seems to work fine for me: $ nix-shell -p python26Packages.virtualenv -p python26 [nix-shell:~]$ virtualenv --python=python2.6 venv2.6test/ Already using interpreter /nix/store/awjf2yn2gfsg0ai9klnpa29a1yx0g8wa-python-2.6.9/bin

Re: [Nix-dev] Need help with virtualenv and python2.6

2014-09-15 Thread Jascha Geerds
Any update on this topic? Same traceback occurs with vanilla virtualenv (and not virtualenvwrapper). -- Jascha Geerds j...@ekby.de ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Add /var/setuid-wrappers to $PATH for systemd service

2014-09-15 Thread Bjørn Forsman
On 15 September 2014 20:23, Luca Bruno wrote: > Try systemd.services.jenkins.path = [ "/var/setuid-wrappers" ]; Thanks for the quick response, but like I said in my first post, systemd.services.jenkins.path adds {/bin,/sbin} to each element. So it doesn't work for /var/setuid-wrappers :-( (But

Re: [Nix-dev] Add /var/setuid-wrappers to $PATH for systemd service

2014-09-15 Thread Luca Bruno
Try systemd.services.jenkins.path = [ "/var/setuid-wrappers" ]; On Mon, Sep 15, 2014 at 7:44 PM, Bjørn Forsman wrote: > Hi all, > > How does one put /var/setuid-wrappers first in $PATH for a systemd service? > > The option systemd.services..path adds /bin and /sbin to the > given paths, so it c

[Nix-dev] Add /var/setuid-wrappers to $PATH for systemd service

2014-09-15 Thread Bjørn Forsman
Hi all, How does one put /var/setuid-wrappers first in $PATH for a systemd service? The option systemd.services..path adds /bin and /sbin to the given paths, so it cannot be used. Another possibility could be using systemd.services..environment.PATH. But I failed to make it work: 1. systemd.s

Re: [Nix-dev] chromium widevine CDM

2014-09-15 Thread Wout Mertens
Circumstantial evidence : my netflix started working lots better on Mac, because it switched to HTML5 playing. I indeed have the widevine plugin now. Wout. On Sep 15, 2014 3:36 PM, "Mathijs Kwik" wrote: > Hi all, > > Recently, netflix enabled support for the chrome browser, running on > linux. T

[Nix-dev] chromium widevine CDM

2014-09-15 Thread Mathijs Kwik
Hi all, Recently, netflix enabled support for the chrome browser, running on linux. This means it should now be possible to watch netflix without silverlight in pure HTML5 video. This became possible because w3c's controversial EME (encrypted media extensions) which enables netflix to enforce DRM

Re: [Nix-dev] Developing R modules with nix

2014-09-15 Thread Peter Simons
Hi Michel, > packageOverrides = self: with pkgs; rec { > rWrapper = pkgs.rWrapper.override { > packages = with pkgs.rPackages; [ Defaults data_table ]; > }; > } if you write that code like so instead: packageOverrides = super: let self = super.pkgs; in { rWrapper = super.rWr

Re: [Nix-dev] Developing R modules with nix

2014-09-15 Thread Michel Kuhlmann
Hi Peter, > what do you mean by "didn't work out"? What exactly didn't work? I guess I mixed up my config; I already had John's *ToolsEnv-pattern for haskell in my config: { pkgs }: { packageOverrides = self: with pkgs; rec { haskellToolsEnv = pkgs.buildEnv { name = "haskell

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

2014-09-15 Thread Lluís Batlle i Rossell
On Sun, Sep 14, 2014 at 10:25:51PM +0100, Mateusz Kowalczyk wrote: > 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 pac

Re: [Nix-dev] Developing R modules with nix

2014-09-15 Thread Peter Simons
Hi Michel, > In the first place I was trying the approach listed on the mailing > list [1], which didn't immediately work out. what do you mean by "didn't work out"? What exactly didn't work? Best regards, Peter ___ nix-dev mailing list nix-dev@list