From cafd63380c9f8d0e1953eecf6c3805c3fe9cce2b Mon Sep 17 00:00:00 2001 From: Minijackson Date: Tue, 30 Jul 2024 10:11:27 +0200 Subject: [PATCH] nixos/arhiver-appliance: fix literal default value The quotes were missing, so the printed value was not valid Nix code. This fixes a warning when building documentation --- nixos/modules/archiver-appliance.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/archiver-appliance.nix b/nixos/modules/archiver-appliance.nix index 85407f00..6ba9db6f 100644 --- a/nixos/modules/archiver-appliance.nix +++ b/nixos/modules/archiver-appliance.nix @@ -167,7 +167,7 @@ in { ''; type = lib.types.path; default = "${cfg.package}/share/archappl/policies.py"; - defaultText = lib.literalExpression "\${cfg.package}/share/archappl/policies.py"; + defaultText = lib.literalExpression ''"''${cfg.package}/share/archappl/policies.py"''; }; ARCHAPPL_SHORT_TERM_FOLDER = lib.mkOption {