Always use nix-build to test building packages, and enable the usage of
chroots because that's very important. nix-shell does not use chroots.
On Sun, Jun 15, 2014 at 3:01 AM, Thomas Strobel ts...@cam.ac.uk wrote:
Hi!
I'm trying to write a nix-expression for current hydra, see below. It
Thanks, I added --pure to nix-shell, but the result didn't change. The
only difference in the environment variables which are set for nix-build
and nix-shell is that nix-build contains the following:
declare -x NIX_ENFORCE_PURITY=1
declare -x NIX_INDENT_MAKE=1
declare -x TZ=UTC
In nix-build
On 06/15/2014 11:09 AM, Luca Bruno wrote:
Always use nix-build to test building packages, and enable the usage of
chroots because that's very important. nix-shell does not use chroots.
How does one enable chroots for this purpose? I had it happen before
where I tested a package in nix-shell
Hi!
I'm trying to write a nix-expression for current hydra, see below. It
works within nix-shell, but fails with nix-build, both on 14.04.
Could someone maybe help me with that, please?
Many thanks,
Thomas
hydra.nix
{ stdenv, fetchgit, pkgs }:
with
Have you tried it with `nix-shell --pure`?
--
Кирилл Елагин
On Sun, Jun 15, 2014 at 5:01 AM, Thomas Strobel ts...@cam.ac.uk wrote:
Hi!
I'm trying to write a nix-expression for current hydra, see below. It
works within nix-shell, but fails with nix-build, both on 14.04.
Could someone