nixos: Don't "[a]ttempt to evaluate package pkgs.trash-cli"

Closes #8161.
This commit is contained in:
Victor Engmark
2025-11-30 11:38:22 +01:00
committed by Austin Horstman
parent 704b6ffa8a
commit 784a83782c

View File

@@ -85,7 +85,7 @@ in
backupCommand = mkOption {
type = types.nullOr (types.either types.str types.path);
default = null;
example = lib.literalExpression "''${pkgs.trash-cli}/bin/trash";
example = lib.literalExpression "\${pkgs.trash-cli}/bin/trash";
description = ''
On activation run this command on each existing file
rather than exiting with an error.