Re: [Nix-dev] Redesign of documentation

2016-02-16 Thread stewart mackenzie
I can't find the link, but a few nixers made something called nix-cloud. That was fun and informative for learning the nix expression language. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] codetriage.com

2016-02-16 Thread Rok Garbas
i've signed up as well. looks interesting to load balance the issue delegation work automatically. On Tue, Feb 16, 2016 at 11:48 PM, Jakob Gillich wrote: > Interesting, that looks like a good way to reduce the amount of open > issues. I've signed up. > > On Tue, Feb 16, 2016,

Re: [Nix-dev] codetriage.com

2016-02-16 Thread Jakob Gillich
Interesting, that looks like a good way to reduce the amount of open issues. I've signed up. On Tue, Feb 16, 2016, at 11:43 PM, Profpatsch wrote: > I just created a Repo page for nixpkgs at codetriage.com. > > It is a simple site that sends you 1 open issue each day once > you sign up with your

[Nix-dev] codetriage.com

2016-02-16 Thread Profpatsch
I just created a Repo page for nixpkgs at codetriage.com. It is a simple site that sends you 1 open issue each day once you sign up with your Github account. Maybe a few people want to join me. -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A:

Re: [Nix-dev] CVE-2015-7547 stdenv-changing fix merged on master and 15.09

2016-02-16 Thread Shea Levy
On 2016-02-16 14:25, Kosyrev Serge wrote: > rocon...@theorem.ca writes: >> I am using the following expression which I believe will build a >> patched >> version of glibc locally, and then build a patched NixOS derivation. >> >> system.replaceRuntimeDependencies = with pkgs.lib; >>

Re: [Nix-dev] CVE-2015-7547 stdenv-changing fix merged on master and 15.09

2016-02-16 Thread roconnor
On Tue, 16 Feb 2016, Kosyrev Serge wrote: > rocon...@theorem.ca writes: >> I am using the following expression which I believe will build a patched >> version of glibc locally, and then build a patched NixOS derivation. >> >> system.replaceRuntimeDependencies = with pkgs.lib; >> [{original

Re: [Nix-dev] loading the nix-shell in a jenkins job

2016-02-16 Thread zimbatm
Okay, maybe it's the environment variables or how the script is invoked On Tue, 16 Feb 2016 at 17:57 Allan Espinosa wrote: > Hi, > > I was actually able to make it work with what I posted earlier. Here > is the full script in the gist: >

Re: [Nix-dev] Git + gettextWithExpat incompatibility

2016-02-16 Thread zimbatm
Can you create an issue ? I can reproduce the issue on master. If just `nixos.gettext` is installed it works fine. I also tried changing the EDITOR but that's not it. Note that git-rebase is implemented in bash On Tue, 16 Feb 2016 at 18:23 Mikhail wrote: > Hi! > > I've

Re: [Nix-dev] Packaging Torch

2016-02-16 Thread Jonn Mostovoy
I just want to point out that I wanted to build a neural network engine in lua with some auxiliary dependencies and faced unpleasant problems with 'cc' binary pointing not where the author's cmake file expected to point. Didn't research, much, but if anything, I'd be interested to contribute to

[Nix-dev] Git + gettextWithExpat incompatibility

2016-02-16 Thread Mikhail
Hi! I've discovered an interesting bug. Here's how it's possible to reproduce it: 1. Install both `gettextWithExpat` and `git` package using nix-env or declaration in `configuration.nix`. I've tried different git versions, all them work this way. Not sure about `gettextWithExpat` versions, but

Re: [Nix-dev] Packaging Torch

2016-02-16 Thread William Casarin
On Tue, Feb 16, 2016 at 5:30 AM, Sergey Mironov wrote: > Hi, List. I'd like to use Torch (http://torch.ch/) on NixOS and it > looks like I have to package it first. I was looking into this awhile back. On the lua side, some pre-reqs would make this a lot easier: *

Re: [Nix-dev] Haskell Infrastructure - Nix-Shell with Hoogle from cabal2nix

2016-02-16 Thread William Casarin
Hey Andreas, On Tue, Feb 16, 2016 at 1:57 AM, Andreas Herrmann wrote: > In any case, the question about a Hoogle database remains. I find it very > useful in situations where I don't have a reliable Internet connection at > hand. (train/plane/etc.) wrt. the hoogle question,

Re: [Nix-dev] loading the nix-shell in a jenkins job

2016-02-16 Thread Allan Espinosa
Hi, I was actually able to make it work with what I posted earlier. Here is the full script in the gist: https://gist.github.com/aespinosa/96ea991e0a938aaee109 I tried your wrapper and I get the same "undefined variable ‘jupyter’ ..." error. However, running it on the console works manually

Re: [Nix-dev] CVE-2015-7547 stdenv-changing fix merged on master and 15.09

2016-02-16 Thread roconnor
I am using the following expression which I believe will build a patched version of glibc locally, and then build a patched NixOS derivation. system.replaceRuntimeDependencies = with pkgs.lib; [{original = pkgs.glibc; replacement = pkgs.stdenv.lib.overrideDerivation pkgs.glibc (oldAttr: {

Re: [Nix-dev] loading the nix-shell in a jenkins job

2016-02-16 Thread zimbatm
Sorry I meant your wrapper would look like this: #!/bin/sh cat | ./your-script Can you also gist or make attach an exact copy of your script to make sure things like whitespaces are not an issue ? On Tue, 16 Feb 2016 at 15:32 Allan Espinosa wrote: > Hi Jonas, > >

Re: [Nix-dev] Wiki is dead

2016-02-16 Thread Profpatsch
On 16-02-14 09:15pm, zimbatm wrote: > But before I invest more time, do you think it's a path worth pursuing ? > Also what would be required for this to be considered "ready" ? Wow, that’s great! What are your thoughts on converting it to a nixos (and nix) cookbook, akin to the Python Cookbook

Re: [Nix-dev] Redesign of documentation

2016-02-16 Thread Profpatsch
On 16-02-15 06:57pm, Freddy Rietdijk wrote: > Furthermore, I can imagine a third > part with How To's could be added to the Nix user guide. These are commonly called “Cookbook” and in my experience they are an invaluable source of practical information. We kind of have something similar in the

Re: [Nix-dev] CVE-2015-7547 stdenv-changing fix merged on master and 15.09

2016-02-16 Thread Shea Levy
Hi all, Nathan Zadoks has offered to allow users to download the new glibc from his hydra while we wait for hydra.nixos.org to catch up. To fetch it, as root run: # nix-store -r /nix/store/5fbwy40pa4pqr97jdgbyaal1y1ns6hb1-glibc-2.21 --option binary-caches https://code.nathan7.eu/hydra

Re: [Nix-dev] CVE-2015-7547 stdenv-changing fix merged on master and 15.09

2016-02-16 Thread Shea Levy
Fixed patch pushed to master, 15.09, and 14.12. On 2016-02-16 10:58, Shea Levy wrote: > There was an error with the patch, we're cooking up a fix now. > > On 2016-02-16 10:37, Shea Levy wrote: >> Hi all, >> >> I've just merged the patch to fix CVE-2015-7547, a buffer overrun in >> glibc with

Re: [Nix-dev] CVE-2015-7547 stdenv-changing fix merged on master and 15.09

2016-02-16 Thread Shea Levy
There was an error with the patch, we're cooking up a fix now. On 2016-02-16 10:37, Shea Levy wrote: > Hi all, > > I've just merged the patch to fix CVE-2015-7547, a buffer overrun in > glibc with working POC exploit, into master and 15.09. It will take > some > time for the channel to update,

[Nix-dev] CVE-2015-7547 stdenv-changing fix merged on master and 15.09

2016-02-16 Thread Shea Levy
Hi all, I've just merged the patch to fix CVE-2015-7547, a buffer overrun in glibc with working POC exploit, into master and 15.09. It will take some time for the channel to update, so please use your judgment as to whether you want to wait for that or switch to building from git until it

Re: [Nix-dev] loading the nix-shell in a jenkins job

2016-02-16 Thread Allan Espinosa
Hi Jonas, Thanks for the tip. I couldn't do what you said in Jenkins itself so I had to wrap nix-shell inside another shell wrapper: wrapper.sh: #!/bin/bash cat $1 | exec nix-shell Then i had my Jenkins job as follows: #!/path/to/wrapper.sh #!nix-shell -i bash jupyter

Re: [Nix-dev] loading the nix-shell in a jenkins job

2016-02-16 Thread zimbatm
It looks legit. Something I noticed is that nix-shell still drops me in a shell if it thinks that the input is interactive. Can you try to run the same command but with `cat | ` piped in front ? On Tue, 16 Feb 2016 at 02:06 Allan Espinosa wrote: > Hi, > > I've been trying

Re: [Nix-dev] Packaging Torch

2016-02-16 Thread zimbatm
qtwebkit doesn't appear if you grep pkgs/top-level/all-packages.nix but it's imported from pkgs/development/libraries/qt-5/5.4/qtwebkit at the moment. Good luck with the packaging ! On Tue, 16 Feb 2016 at 13:30 Sergey Mironov wrote: > Hi, List. I'd like to use Torch

[Nix-dev] Packaging Torch

2016-02-16 Thread Sergey Mironov
Hi, List. I'd like to use Torch (http://torch.ch/) on NixOS and it looks like I have to package it first. The task is not going to be easy due to (lots of) Lua and NodeJS dependencies. Also, they require what Ubuntu guys call webkit-qt. Do we have this package? I've established a forked repo

Re: [Nix-dev] Using nix-shell in messy trees with symlinks and binary files

2016-02-16 Thread Rok Garbas
look at `builtins.filterSource` in nix manual (http://nixos.org/nix/manual) On Tue, Feb 16, 2016 at 1:05 PM, Kosyrev Serge <_deepf...@feelingofgreen.ru> wrote: > Good day, folks! > > What I'm seeing is a rather disturbingly odd, context-depenent behavior of > nix-shell: > > , > |

[Nix-dev] Fwd: Redesign of documentation

2016-02-16 Thread Freddy Rietdijk
On Tue, Feb 16, 2016 at 10:50 AM, Christian Kauhaus wrote: > > In my opinion it would be helpful to cover the Nix language (language > syntax, > features and builtins) in a separate section. > > I agree the Nix language should also be covered. Where do you think this should

Re: [Nix-dev] Wiki is dead

2016-02-16 Thread Matthias Beyer
I once created a wiki template based on jekyll and zurb foundation[0]. It should be possible to host this with gh-pages. As far as I can remember, this is almost ready for use, though I'm not a web-dev and it might have some ugly points in the interface, though the underlying code should work.

Re: [Nix-dev] Haskell Infrastructure - Nix-Shell with Hoogle from cabal2nix

2016-02-16 Thread Andreas Herrmann
Hi Peter, Thanks for your response. On Monday 15 February 2016 19:17:52 Peter Simons wrote: > > In order to create a development environment, where I have > > `cabal-install` available as well, I can write the following Nix > > file: [...]. > > why don't you just put inherently

Re: [Nix-dev] Redesign of documentation

2016-02-16 Thread Christian Kauhaus
Am 15.02.2016 um 18:57 schrieb Freddy Rietdijk: > So, that's my idea about the documentation. What are your views about this > issue and the proposal? And remember, no talking about implementations/formats > just yet! In my opinion it would be helpful to cover the Nix language (language syntax,

[Nix-dev] How to set up your own Hydra server (video tutorial)

2016-02-16 Thread Peter Simons
Hi folks, as promised before [1], my presentation from the January NixOS Meet-up in Berlin is now available on Youtube: https://www.youtube.com/watch?v=RXV0Y5Bn-QQ The video is provides a tutorial how to configure your own Hydra server. There is a bunch of configuration files at

Re: [Nix-dev] problem with automounted ntfs partitions

2016-02-16 Thread Thomas Hunger
Hi Mate, Can you try nix-env -iA nixos.ntfs3g instead? On 16 February 2016 at 07:10, Máté Kovács wrote: > Hi all, > > The problem I'm trying to solve is that automounted ntfs partitions are > read-only. > > For example, `mount | column -t` lists > /dev/sdb1 on

Re: [Nix-dev] Dynamic substituteInPlace

2016-02-16 Thread stewart mackenzie
hey zimbatm, On Tue, Feb 16, 2016 at 6:04 AM, zimbatm wrote: > It's not super clear to me what you are trying to achieve. Maybe you've > zoomed into that specific solution but with more context there might be > others available. I suspect this might be the case. > Is the