mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
ba05f29838
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.
10 lines
278 B
Makefile
10 lines
278 B
Makefile
corepkgs_FILES = \
|
|
buildenv.nix \
|
|
unpack-channel.nix \
|
|
derivation.nix \
|
|
fetchurl.nix \
|
|
imported-drv-to-derivation.nix
|
|
|
|
$(foreach file,config.nix $(corepkgs_FILES),$(eval $(call install-data-in,$(d)/$(file),$(datadir)/nix/corepkgs)))
|
|
|
|
template-files += $(d)/config.nix
|