From 90b62096f099b73043a747348c11dbfcfbdea949 Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Sun, 30 Nov 2025 11:38:22 +0100 Subject: [PATCH] nixos: Don't "[a]ttempt to evaluate package pkgs.trash-cli" Closes #8161. (cherry picked from commit 784a83782ce00985bee65c588d4c315ec0b5a172) --- nixos/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/common.nix b/nixos/common.nix index 5468df94..b5bcfa57 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -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.