1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00

Remove most of <nix/config.nix>

This is no longer needed.
This commit is contained in:
Eelco Dolstra 2019-03-27 23:49:14 +01:00
parent 045708db43
commit 6a9c815734
4 changed files with 4 additions and 13 deletions

18
tests/config.nix.in Normal file
View file

@ -0,0 +1,18 @@
rec {
shell = "@bash@";
path = "@coreutils@";
system = builtins.currentSystem;
shared = builtins.getEnv "_NIX_TEST_SHARED";
mkDerivation = args:
derivation ({
inherit system;
builder = shell;
args = ["-e" args.builder or (builtins.toFile "builder.sh" "if [ -e .attrs.sh ]; then source .attrs.sh; fi; eval \"$buildCommand\"")];
PATH = path;
} // removeAttrs args ["builder" "meta"])
// { meta = args.meta or {}; };
}