1
0
Fork 0
forked from lix-project/lix
lix/corepkgs
Eelco Dolstra ba05f29838
nix: Enable pure mode by default
We want to encourage a brave new world of hermetic evaluation for
source-level reproducibility, so flakes should not poke around in the
filesystem outside of their explicit dependencies.

Note that the default installation source remains impure in that it
can refer to mutable flakes, so "nix build nixpkgs.hello" still works
(and fetches the latest nixpkgs, unless it has been pinned by the
user).

A problem with pure evaluation is that builtins.currentSystem is
unavailable. For the moment, I've hard-coded "x86_64-linux" in the
nixpkgs flake. Eventually, "system" should be a flake function
argument.
2019-02-12 20:35:03 +01:00
..
buildenv.nix Make <nix/buildenv.nix> a builtin builder 2018-03-20 17:28:09 +01:00
config.nix.in Add nix-perl package for the perl bindings 2017-02-07 15:56:32 -05:00
derivation.nix Revert "Get rid of unicode quotes ()" 2016-11-26 00:38:01 +01:00
fetchurl.nix Support SRI hashes 2018-12-13 14:30:52 +01:00
imported-drv-to-derivation.nix Importing derivations: Add name attribute to make a valid drv 2015-07-23 17:04:07 +02:00
local.mk nix: Enable pure mode by default 2019-02-12 20:35:03 +01:00
unpack-channel.nix unpack-channel.nix: fix 'mv' corner case 2017-02-27 10:12:58 +01:00