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

Closes #8161.

(cherry picked from commit 784a83782c)
This commit is contained in:
Victor Engmark 2025-11-30 11:38:22 +01:00 committed by Austin Horstman
parent 4477715265
commit 90b62096f0

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.