mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
Format .nix files
... with nixfmt (rfc style)
This commit is contained in:
parent
ba6425a7d0
commit
96e550efc5
266 changed files with 7460 additions and 5138 deletions
|
@ -1,4 +1,6 @@
|
|||
let config_nix = /. + "${builtins.getEnv "_NIX_TEST_BUILD_DIR"}/config.nix"; in
|
||||
let
|
||||
config_nix = /. + "${builtins.getEnv "_NIX_TEST_BUILD_DIR"}/config.nix";
|
||||
in
|
||||
with import config_nix;
|
||||
|
||||
mkDerivation rec {
|
||||
|
@ -15,7 +17,9 @@ mkDerivation rec {
|
|||
|
||||
buildCommand = ''
|
||||
mkdir $out
|
||||
opts="--experimental-features nix-command ${if (NIX_TESTS_CA_BY_DEFAULT == "1") then "--extra-experimental-features ca-derivations" else ""}"
|
||||
opts="--experimental-features nix-command ${
|
||||
if (NIX_TESTS_CA_BY_DEFAULT == "1") then "--extra-experimental-features ca-derivations" else ""
|
||||
}"
|
||||
|
||||
PATH=${builtins.getEnv "NIX_BIN_DIR"}:$PATH
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue