Re: [Nix-dev] Creating offline installation image

2015-03-28 Thread Arseniy Seroka
Anyway, I still don't know how to do my task :( 2015-03-29 2:46 GMT+03:00 James Cook james.c...@utoronto.ca: If the versions are not too far apart, then it's possible for only a few store hashes to change. James On 28 March 2015 at 16:45, Arseniy Seroka ars.ser...@gmail.com wrote: I

Re: [Nix-dev] Creating offline installation image

2015-03-28 Thread James Cook
(For the list: a GitHub issue to track this.) On 28 March 2015 at 17:12, Arseniy Seroka ars.ser...@gmail.com wrote: Issue: https://github.com/NixOS/nixpkgs/issues/7059 2015-03-29 3:04 GMT+03:00 James Cook james.c...@utoronto.ca: Sorry you are having trouble. I'm going to wait to see if

Re: [Nix-dev] complete removal of obsolete kdelibs derivation

2015-03-28 Thread Thomas Tuegel
On Sat, Mar 28, 2015 at 5:11 PM, Karn Kallio tierplusplusli...@skami.org wrote: The attached patch completes the removal of the obsolete kdelibs derivation; otherwise kde will fail to build Applied to master, thanks! Could I ask what error you are seeing? I can't reproduce any build failures

Re: [Nix-dev] Creating offline installation image

2015-03-28 Thread James Cook
If the versions are not too far apart, then it's possible for only a few store hashes to change. James On 28 March 2015 at 16:45, Arseniy Seroka ars.ser...@gmail.com wrote: I think that if they are different, many things will have different hash. But as I can see, lot's of store's elements

[Nix-dev] ANNOUNCE: GHCJS support in Haskell-NG

2015-03-28 Thread Charles Strahan
I'm pleased to announce that GHCJS support for Haskell-NG has landed on master, using the recent GHC 7.10 release. Thanks again to Ryan Trinkle for laying the groundwork, Luite Stegeman for making GHCJS, and Peter Simons for reviewing my work and filing off the rough edges.

Re: [Nix-dev] Creating offline installation image

2015-03-28 Thread Arseniy Seroka
My installation-cd-minimal.nix [1] What I do: - Running qemu with generated image - Checking that I can run vlc, teamviewer, dropbox, openbox etc (also Xserver is running) - Making partition on hard drive - Mounting to /mnt - Editing /mnt/etc/nixos/configuration.nix to [2] -

[Nix-dev] complete removal of obsolete kdelibs derivation

2015-03-28 Thread Karn Kallio
The attached patch completes the removal of the obsolete kdelibs derivation; otherwise kde will fail to build From d00a83fd669fc43ecffc0e35e30de582bc3bc84c Mon Sep 17 00:00:00 2001 From: Karn Kallio kkal...@skami.org Date: Sat, 28 Mar 2015 17:38:24 -0430 Subject: [PATCH] complete removal of

[Nix-dev] Haskell NG: multiple project usage

2015-03-28 Thread Nikita Karetnikov
I added a new datatype to tasty-core, which I'd like to use in tasty-quickcheck. I generated two default.nix files as described here: http://stackoverflow.com/questions/27968909/how-to-get-cabal-and-nix-work-together And put this shell.nix file into the tasty-quickcheck directory:

Re: [Nix-dev] [PATCH] gnupg1orig: Remove left-over debug message.

2015-03-28 Thread James Cook
On 27 March 2015 at 14:48, Petar Bogdanovic pe...@smokva.net wrote: --- pkgs/tools/security/gnupg/1.nix| 2 ++ .../security/gnupg/remove-debug-message.patch | 22 ++ 2 files changed, 24 insertions(+) create mode 100644

[Nix-dev] purifying cmake - need to determine buildInputs directories in a setup hook

2015-03-28 Thread Luis Torres
Currently, when building cmake projects in Nix, cmake will sometimes try to pull in headers/libraries from impure directories like /usr. I think I've found the way to disable this behavior, but I need some help writing the derivation/scripts to do this. If the cmake command is invoked with the

Re: [Nix-dev] NixOS next stable release

2015-03-28 Thread Roger Qiu
That feature would be really cool. I'm a bit confused, what's the status of the Recursive Nix feature? Is it really on hold? Or waiting for a better implementation? On 28/03/2015 9:50 PM, Bjørn Forsman wrote: On 26 March 2015 at 12:37, Domen Kožar do...@dev.si wrote: [...] I'd really like to

Re: [Nix-dev] patches to add mkcl and fix ecl

2015-03-28 Thread Tomas Hlavaty
Hi Michael, Michael Raskin 7c6f4...@mail.ru writes: attached is a patch which fixes ecl, using the gmp and libffi supplied by nix, preserving the dffi ecl feature. Thanks, applied thanks a lot! Tomas ___ nix-dev mailing list

Re: [Nix-dev] NixOS next stable release

2015-03-28 Thread Domen Kožar
On Sat, Mar 28, 2015 at 5:19 PM, Matthias Beyer m...@beyermatthias.de wrote: On 26-03-2015 12:37:28, Domen Kožar wrote: - set default kernel to 3.18 https://github.com/NixOS/nixpkgs/pull/6858 May I ask why not 3.19? Just because 3.18 is a longterm kernel (aka. is the stable NixOS version

Re: [Nix-dev] NixOS next stable release

2015-03-28 Thread Matthias Beyer
On 26-03-2015 12:37:28, Domen Kožar wrote: - set default kernel to 3.18 https://github.com/NixOS/nixpkgs/pull/6858 May I ask why not 3.19? Just because 3.18 is a longterm kernel (aka. is the stable NixOS version always based on a longterm kernel)? -- Mit freundlichen Grüßen, Kind regards,

Re: [Nix-dev] NixOS next stable release

2015-03-28 Thread Bjørn Forsman
On 26 March 2015 at 12:37, Domen Kožar do...@dev.si wrote: [...] I'd really like to see private store files implemented for this release, since it's the major drawback in our current package manager (after I've talked to quite some people from community in the last year). See

Re: [Nix-dev] Use GHC 7.10.1 as default Haskell compiler in nixpkgs

2015-03-28 Thread Alan Kim Zimmerman
This issue tracks the status of packages building with 7.10 for stackage, a lot are still failing https://github.com/fpco/stackage/issues/378 On Sat, Mar 28, 2015 at 11:12 AM, Raahul Kumar raahul.ku...@gmail.com wrote: Any idea why 1/3rd of all packages, 1551, are classified as newly

Re: [Nix-dev] patches to add mkcl and fix ecl

2015-03-28 Thread Michael Raskin
attached is a patch which fixes ecl, using the gmp and libffi supplied by nix, preserving the dffi ecl feature. Thanks, applied Look at bittornado expression, for example, it sets PYTHONPATH for use at runtime. For ECL we need to set NIX_CFLAGS_COMPILE, I guess. Any flags in

Re: [Nix-dev] Q - Querying for common C tools like make and kernel headers

2015-03-28 Thread Kirill Elagin
This stuff (common development tools) is called `stdenv`. It is available as `pkgs.stdenv`, but the interesting part is here: https://github.com/NixOS/nixpkgs/tree/master/pkgs/stdenv. The kernel is available as `pkgs.linux_version` e.g. `pkgs.linux_3_18` (I think stdenv includes only the