lix/src/libexpr/primops
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
..
fetchGit.cc Improve flake references 2019-02-12 18:23:11 +01:00
fetchGit.hh Improve flake references 2019-02-12 18:23:11 +01:00
fetchMercurial.cc Solve hg "abandoned transaction" issue 2018-12-06 13:57:59 +01:00
flake.cc nix: Enable pure mode by default 2019-02-12 20:35:03 +01:00
flake.hh Improve flake references 2019-02-12 18:23:11 +01:00
flakeref.cc Improve flake references 2019-02-12 18:23:11 +01:00
flakeref.hh Improve flake references 2019-02-12 18:23:11 +01:00
fromTOML.cc Fix build on 32-bit systems and macOS 2018-07-11 21:12:18 +02:00