diff options
author | makefu <github@syntax-fehler.de> | 2016-09-07 15:52:18 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-09-07 15:52:18 +0200 |
commit | f7b023ad6a7d71ca2ebc96a4bd1a0c1afe05eb92 (patch) | |
tree | e734699d1b04cebf9c2c19864bd275bb77710317 | |
parent | 0068277abde3fde73a60d3bec756902a768f4778 (diff) |
m 2 default: remove trace, use || instead of or
-rw-r--r-- | 2configs/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/2configs/default.nix b/2configs/default.nix index 110d1ec80..a7c2a983e 100644 --- a/2configs/default.nix +++ b/2configs/default.nix @@ -22,9 +22,9 @@ with config.krebs.lib; build = { user = config.krebs.users.makefu; source = let inherit (config.krebs.build) host user; in { - nixpkgs = if config.makefu.full-populate or (getEnv "dummy_secrets" == "true") then + nixpkgs = if config.makefu.full-populate || (getEnv "dummy_secrets" == "true") then { # stable @ 2016-07-20 - git = trace "Populating nixpkgs via full clone" { url = https://github.com/nixos/nixpkgs; ref = "125ffff"; }; + git = { url = https://github.com/nixos/nixpkgs; ref = "125ffff"; }; } else # TODO use http, once it is implemented @@ -32,7 +32,7 @@ with config.krebs.lib; ## prepare so we do not have to wait for rsync: ## cd /var/src; curl https://github.com/nixos/nixpkgs/tarball/125ffff -L | tar zx && mv NixOS-nixpkgs-125ffff nixpkgs - trace "Populating nixpkgs with local directory" { file = "/home/makefu/store/125ffff";}; + { file = "/home/makefu/store/125ffff";}; secrets.file = if getEnv "dummy_secrets" == "true" then toString <stockholm/makefu/6tests/data/secrets> |