Re: [Nix-dev] gnuradio-osmosdr and gnuradio-companion

2014-12-16 Thread Bjørn Forsman
Hi Jeremy, (Copying nix-dev list for reference.) On 16 December 2014 at 08:30, Jeremy Shaw jer...@n-heptane.com wrote: Hello, I have installed gnuradio-osmosdr from nixpkgs. The standalone tools like osmocom_fft work fine. But if I fire up gnuradio-companion and load a configuration that

Re: [Nix-dev] OpenSSL

2014-12-16 Thread stewart mackenzie
okay the solution worked perfectly. Thanks I've changed all my envs. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Ejabberd Options

2014-12-16 Thread Luca Bruno
On 16/12/2014 05:31, stewart mackenzie wrote: Luca, here is my config, I've stripped everything that isn't pertinent to the testing setup (which will use NixOS). I've pointed my hydra nixpkgs jobset input to my github nixpkgs fork on the ejabberd branch which contains this commit:

Re: [Nix-dev] Adding a name to mantainers list via ~/.nixpkgs/config.nix

2014-12-16 Thread Luca Bruno
On 16/12/2014 04:58, Carlo Nucera wrote: Hi Bruno, I don't know how to do that mantaing my ~/.nixpkgs/config.nix, which looks like: { packageOverrides = pkgs: rec { haskellPackages = pkgs.recurseIntoAttrs ( pkgs.haskellPackages.override { extension = self: super:

Re: [Nix-dev] Ejabberd Options

2014-12-16 Thread stewart mackenzie
Absolutely Luca, you're absolutely right. I suspect a book needs to be written on NixOS + Hydra + Nixops, this will be a good way to formalize knowledge and share it. Do you know of any books in progress? /sjm My main hint: don't make assumptions about magic or anything like that, Nix is a

Re: [Nix-dev] Ejabberd Options

2014-12-16 Thread Luca Bruno
On 16/12/2014 10:56, stewart mackenzie wrote: Absolutely Luca, you're absolutely right. I suspect a book needs to be written on NixOS + Hydra + Nixops, this will be a good way to formalize knowledge and share it. Do you know of any books in progress? The best you can do is reading the nix

Re: [Nix-dev] Ejabberd Options

2014-12-16 Thread stewart mackenzie
On Tue, Dec 16, 2014 at 6:04 PM, Luca Bruno lethalma...@gmail.com wrote: The best you can do is reading the nix manual, and reading code and playing with nix in general, not through hydra where it takes time to test things. github.com/nixos/nixpkgs is the first frequency ranked tile on my

Re: [Nix-dev] Ejabberd Options

2014-12-16 Thread Thomas Hunger
I also found this introduction useful: https://medium.com/@MrJamesFisher/nix-by-example-a0063a1a4c55 On 16 December 2014 at 10:25, stewart mackenzie setor...@gmail.com wrote: On Tue, Dec 16, 2014 at 6:04 PM, Luca Bruno lethalma...@gmail.com wrote: The best you can do is reading the nix

Re: [Nix-dev] Ejabberd Options

2014-12-16 Thread stewart mackenzie
Thomas, that's a very nice article thank you! On Tue, Dec 16, 2014 at 6:41 PM, Thomas Hunger tehun...@gmail.com wrote: I also found this introduction useful: https://medium.com/@MrJamesFisher/nix-by-example-a0063a1a4c55 ___ nix-dev mailing list

Re: [Nix-dev] What does `self` mean in the function `ghcWithPackages`?

2014-12-16 Thread Vladimír Čunát
Hi. On 12/16/2014 03:30 AM, Carlo Nucera wrote: In the line `packages = pkgs self;` what does `self` refer to? Obviously, ``self`` is the parameter of the whole haskell-packages.nix top-level function (line 58 in recent master version). I gather that pkgs, the value we should pass to

Re: [Nix-dev] What does `self` mean in the function `ghcWithPackages`?

2014-12-16 Thread Oliver Charles
On Tue, Dec 16, 2014 at 11:01 AM, Vladimír Čunát wrote: On 12/16/2014 03:30 AM, Carlo Nucera wrote: In the line `packages = pkgs self;` what does `self` refer to? Obviously, ``self`` is the parameter of the whole haskell-packages.nix top-level function (line 58 in recent master version).

Re: [Nix-dev] ‘CYCLE’ was not found in the Nix search path

2014-12-16 Thread Daniel Bergey
On 2014-12-16 at 10:37, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 16/12/14 00:04, Daniel Bergey wrote: For the last few days, any attempt to install with nix-env gives the message: error: file ‘CYCLE’ was not found in the Nix search path (add it using $NIX_PATH or -I)

[Nix-dev] How to set up your Haskell environment (was: Help with ghc errors after nix-channel --update)

2014-12-16 Thread Peter Simons
Hi Carlo, for completeness, could you post a version in which this approach is used in conjunction with ghcWithPackages? first of all, your ~/.bashrc should contain these settings: | NIX_GHC_VERSION=$(ghc --numeric-version) | export NIX_GHC=$HOME/.nix-profile/bin/ghc | export

Re: [Nix-dev] What does `self` mean in the function `ghcWithPackages`?

2014-12-16 Thread Vladimír Čunát
On 12/16/2014 12:16 PM, Oliver Charles wrote: On Tue, Dec 16, 2014 at 11:01 AM, Vladimír Čunát wrote: Obviously, ``self`` is the parameter of the whole haskell-packages.nix top-level function (line 58 in recent master version). If it was obvious, I don't think Carlo would be asking

Re: [Nix-dev] What does `self` mean in the function `ghcWithPackages`?

2014-12-16 Thread roconnor
Hi, if you are familiar with fixpoints, then the following blog post may be helpful in understanding this pattern: http://r6.ca/blog/20140422T142911Z.html On Tue, 16 Dec 2014, Carlo Nucera wrote: Hi all, I was reading the sources of ghcWithPackages: ghcWithPackages = pkgs : callPackage

[Nix-dev] Why can't Nix find my C++ compiler? (Mac OS X)

2014-12-16 Thread Rico Huijbers
Hi, I'm new to Nix, and kicking the tires. Right now, I'm trying to compile dmd (the D compiler) using Nix, but when I try to compile it, it can't seem to find my C++ compiler: rix0rrr@moloch ~/D/n/nixpkgs(master) nix-env -i dmd installing `dmd-2.066.1' these derivations will be

[Nix-dev] Nix 1.8 released

2014-12-16 Thread Eelco Dolstra
Hi, I'm pleased to announce the availability of a new stable release of the Nix package manager. Release 1.8 can be found at http://hydra.nixos.org/release/nix/nix-1.8 and http://nixos.org/releases/nix/nix-1.8 It has the following changes and new features: • Breaking change: to

Re: [Nix-dev] Why can't Nix find my C++ compiler? (Mac OS X)

2014-12-16 Thread Shea Levy
On Dec 16, 2014, at 5:45 PM, Rico Huijbers rix0...@gmail.com wrote: Hi, I'm new to Nix, and kicking the tires. Right now, I'm trying to compile dmd (the D compiler) using Nix, but when I try to compile it, it can't seem to find my C++ compiler: rix0rrr@moloch

[Nix-dev] Hard-coded dlload paths in .so [was: Nix expression for closed-source scanner driver]

2014-12-16 Thread Peter Jones
Bjørn Forsman bjorn.fors...@gmail.com writes: On 16 December 2014 at 02:09, Peter Jones mli...@pmade.com wrote: I'm working on a Nix expression to install a proprietary scanner driver that is available as a Debian package. After using `nix-env' to install the package I'm still not able to see

Re: [Nix-dev] Nix 1.8 released

2014-12-16 Thread Bjørn Forsman
Hi Eelco, On 16 December 2014 at 18:56, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, I'm pleased to announce the availability of a new stable release of the Nix package manager. Release 1.8 can be found at [...] Many nice features. Looking forward to try them out :-) • nix-store

Re: [Nix-dev] Hard-coded dlload paths in .so [was: Nix expression for closed-source scanner driver]

2014-12-16 Thread Bjørn Forsman
On 16 December 2014 at 19:25, Peter Jones mli...@pmade.com wrote: Bjørn Forsman bjorn.fors...@gmail.com writes: On 16 December 2014 at 02:09, Peter Jones mli...@pmade.com wrote: I'm working on a Nix expression to install a proprietary scanner driver that is available as a Debian package.

[Nix-dev] How do I chroot into my NixOS partition?

2014-12-16 Thread Joe Hillenbrand
I want chroot into my NixOS partition from my Ubuntu partition, but I can't figure out how do get a shell. $ mount /dev/mapper/vg0-nixos /mnt $ mount -o /dev /mnt/dev $ mount -o bind /boot /mnt/boot $ mount -t sysfs /sys /mnt/sys $ mount -t proc none /mnt/proc $ chroot /mnt /usr/bin/env -i

Re: [Nix-dev] How do I chroot into my NixOS partition?

2014-12-16 Thread Domen Kožar
$ nixos-install --chroot --root /mnt On Tue, Dec 16, 2014 at 9:08 PM, Joe Hillenbrand joehil...@gmail.com wrote: I want chroot into my NixOS partition from my Ubuntu partition, but I can't figure out how do get a shell. $ mount /dev/mapper/vg0-nixos /mnt $ mount -o /dev /mnt/dev $ mount -o

Re: [Nix-dev] Nix 1.8 released

2014-12-16 Thread Vladimír Čunát
Hi, the features sound really good; thanks all contributors! On 12/16/2014 08:17 PM, Bjørn Forsman wrote: But the first thing I think of when reading this is, why isn't log files just one of the outputs of a derivation? We have .dev and .lib outputs, why not a .log derivation output? Wouldn't

Re: [Nix-dev] How do I chroot into my NixOS partition?

2014-12-16 Thread Joe Hillenbrand
Sorry, I can't figure out how to get the latest version of nixos-install. The version that comes with latest-iso-minimal doesn't support `--chroot` On Tue, Dec 16, 2014 at 12:11 PM, Domen Kožar do...@dev.si wrote: $ nixos-install --chroot --root /mnt On Tue, Dec 16, 2014 at 9:08 PM, Joe

Re: [Nix-dev] How do I chroot into my NixOS partition?

2014-12-16 Thread Luca Bruno
No need for --chroot, it already uses /mnt. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] How do I chroot into my NixOS partition?

2014-12-16 Thread Jascha Geerds
On Tue, Dec 16, 2014, at 23:56, Luca Bruno wrote: No need for --chroot, it already uses /mnt. I think he would like to chroot into an existing NixOS installation. As far as I know nixos-install is only used for new installations -- Jascha Geerds j...@ekby.de

Re: [Nix-dev] How do I chroot into my NixOS partition?

2014-12-16 Thread Luca Bruno
Ops :) if you don't have --chroot first mount a /run with ramfs. Then activate the system with chroot /mnt /nix/var/nix/profiles/system/activate . Then chroot running /run/current-system/bin/bash . You may do it :) If for some reason it tells you activate cannot be found or such, try reading the

[Nix-dev] BootDevice Not Found

2014-12-16 Thread Dejan Lukan
Hello all, Recently I've installed NixOS on my new HP Ultrabook 850 Laptop, but I cannot boot into the system. Whenever I restart the livecd NixOS distribution, I get the following error message: BootDevice Not Found Please install an operating system on your hard disk. Hard Disk - (3F0)

Re: [Nix-dev] BootDevice Not Found

2014-12-16 Thread Wout Mertens
No ideas, in your place I'd consider switching to UEFI... On Wed, Dec 17, 2014, 12:38 AM Dejan Lukan evangeline.elea...@gmail.com wrote: Hello all, Recently I've installed NixOS on my new HP Ultrabook 850 Laptop, but I cannot boot into the system. Whenever I restart the livecd NixOS

[Nix-dev] rsyncd: breaking configuration change

2014-12-16 Thread Wout Mertens
Hi all, if you use rsyncd, note that https://github.com/NixOS/nixpkgs/pull/5254 changes the configuration so that samba and rsyncd can now share the same exports list. This breaks the current rsyncd configuration. Wout. ___ nix-dev mailing list

Re: [Nix-dev] Nix stand at FOSDEM15

2014-12-16 Thread Wout Mertens
Still no news about the tables at Fosdem... Should we prod them to show our interest? On Wed Nov 19 2014 at 11:16:11 AM Wout Mertens wout.mert...@gmail.com wrote: I'm requesting a table, we'll see if we get in. How about USB sticks with the Nix logo and a liveUSB? Anybody have experience

Re: [Nix-dev] Nix stand at FOSDEM15

2014-12-16 Thread Mikey Ariel
Considering that they haven't announced anything yet, I have a feeling that the jury is still out on that one.. On Wed, Dec 17, 2014 at 7:52 AM, Wout Mertens wout.mert...@gmail.com wrote: Still no news about the tables at Fosdem... Should we prod them to show our interest? On Wed Nov 19