mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
nixos/tests/gitolite: Don't build during evaluation
Noticed in https://hydra.nixos.org/jobset/nixos/release-17.09#tabs-errors: ```` hydra-eval-jobs returned exit code 1: building path(s) '/nix/store/wxcbjli7m98yymnxrxkf6pigr7a05zad-id_ed25519.pub' building '/nix/store/gyig2d7cry98647h0grfilq26cpc1wy8-id_ed25519.pub.drv'... ```` Issue #29774
This commit is contained in:
parent
34621ab9ce
commit
2f3786e7ef
|
@ -11,7 +11,7 @@ let
|
|||
-----END OPENSSH PRIVATE KEY-----
|
||||
'';
|
||||
|
||||
adminPublicKey = pkgs.writeText "id_ed25519.pub" ''
|
||||
adminPublicKey = ''
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO7urFhAA90BTpGuEHeWWTY3W/g9PBxXNxfWhfbrm4Le root@client
|
||||
'';
|
||||
|
||||
|
@ -62,7 +62,7 @@ in
|
|||
{
|
||||
services.gitolite = {
|
||||
enable = true;
|
||||
adminPubkey = builtins.readFile adminPublicKey;
|
||||
adminPubkey = adminPublicKey;
|
||||
};
|
||||
services.openssh.enable = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue