Re: [Nix-dev] Encrypted root: LUKS over LVM

2015-01-09 Thread James Cook
It looks like nixos is trying to run fsck after mounting the filesystem (somehow I missed this when I looked at your e-mail before). I don't know what would cause this. Can you send us your hardware-configuration.nix? James On 6 January 2015 at 23:47, Nikita Karetnikov nik...@karetnikov.org

Re: [Nix-dev] A Journey into the Haskell NG infrastructure: Part I

2015-01-09 Thread Mateusz Kowalczyk
On 01/09/2015 10:27 PM, Thomas Hunger wrote: One thing that'd be useful is documenting how pkgs/development/haskell-modules/hackage-packages.nix is regenerated and how to fix common issues. E.g. disabling tests done by overriding a package in haskell-modules/configuration-common.nix. But I

Re: [Nix-dev] A Journey into the Haskell NG infrastructure: Part I

2015-01-09 Thread Peter Simons
Hi Thomas, I changed my sandbox code to look like the following. Is that how it's intended to be used? yes, exactly. That's a very nice example. You can put that definition into a file, say shell.nix, and run $ nix-shell --pure shell.nix to obtain an interactive environment that contains

Re: [Nix-dev] A Journey into the Haskell NG infrastructure: Part I

2015-01-09 Thread Thomas Hunger
This is really cool! I changed my sandbox code to look like the following. Is that how it's intended to be used? { haskellngPackages ? (import nixpkgs {}).haskellngPackages, pkgs ? (import nixpkgs {}).pkgs }: let env = haskellngPackages.ghcWithPackages (p: [ p.text p.mtl p.transformers

[Nix-dev] botan

2015-01-09 Thread Karn Kallio
The generic part of the nixpkgs expression for botan refers to both the bzip download and the gzip download. The given hash corresponds to the gzip one and generates a hash mismatch error. The attached patch downloads the gzipped one to match the given hash. From

[Nix-dev] A Journey into the Haskell NG infrastructure: Part I

2015-01-09 Thread Peter Simons
Dear Haskellers `intersect` Nixers, this is the first installment of a series of postings to describe technical aspects of the re-factored Haskell infrastructure. When this is all done, I intend to use these articles to create some kind of *gasp* user documentation for the Nixpkgs manual. So I

Re: [Nix-dev] A Journey into the Haskell NG infrastructure: Part I

2015-01-09 Thread Thomas Hunger
One thing that'd be useful is documenting how pkgs/development/haskell-modules/hackage-packages.nix is regenerated and how to fix common issues. E.g. disabling tests done by overriding a package in haskell-modules/configuration-common.nix. But I don't understand how to retain a specific version

Re: [Nix-dev] A Journey into the Haskell NG infrastructure: Part I

2015-01-09 Thread Eric Seidel
Hi Peter, this sounds very nice, thanks for all of the work you've put into nix-haskell! One immediate question I have is how to translate local haskell packages (e.g. as described by [1]) into the haskellng regime. If I just replace `haskellPackages` with `haskellngPackages` I get the following