3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tests/gitea: fix eval warnings

trace: warning: config.services.gitea.database.password will be stored as plaintext
        in the Nix store. Use database.passwordFile instead.

(Arguably, this shouldn't be a warning at all. But making it happy is
easier than having a debate on the value of this warning.)
This commit is contained in:
Pierre Bourdon 2019-02-11 03:10:56 +01:00
parent f90a60a33c
commit c0829a0859
No known key found for this signature in database
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -45,7 +45,7 @@ with pkgs.lib;
{
services.gitea.enable = true;
services.gitea.database.type = "postgres";
services.gitea.database.password = "secret";
services.gitea.database.passwordFile = pkgs.writeText "db-password" "secret";
};
testScript = ''