From 084e7e6df9397619ee0c8e5e7455e6f1ec622203 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 16 Mar 2026 20:17:20 +0100 Subject: [PATCH] treewide: remove unneeded string escapes (this is to reduce warnings produced by Lix) --- modules/programs/desktoppr.nix | 2 +- tests/modules/programs/go/old-options.nix | 2 +- tests/modules/programs/go/suboptions-unset.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/programs/desktoppr.nix b/modules/programs/desktoppr.nix index 8339e2af..69bd8a95 100644 --- a/modules/programs/desktoppr.nix +++ b/modules/programs/desktoppr.nix @@ -22,7 +22,7 @@ in options = { picture = lib.mkOption { - type = with lib.types; nullOr (either path (strMatching "^http(s)?:\/\/.*$")); + type = with lib.types; nullOr (either path (strMatching "^http(s)?://.*$")); default = null; example = "/System/Library/Desktop Pictures/Solid Colors/Stone.png"; description = '' diff --git a/tests/modules/programs/go/old-options.nix b/tests/modules/programs/go/old-options.nix index d8007efa..fd219948 100644 --- a/tests/modules/programs/go/old-options.nix +++ b/tests/modules/programs/go/old-options.nix @@ -30,7 +30,7 @@ nmt.script = let - goCfgDir = if !pkgs.stdenv.isDarwin then ".config/go" else "Library/Application\ Support/go"; + goCfgDir = if !pkgs.stdenv.isDarwin then ".config/go" else "Library/Application Support/go"; in '' assertFileExists "home-files/${goCfgDir}/env" diff --git a/tests/modules/programs/go/suboptions-unset.nix b/tests/modules/programs/go/suboptions-unset.nix index 83ca5850..3e6e81e1 100644 --- a/tests/modules/programs/go/suboptions-unset.nix +++ b/tests/modules/programs/go/suboptions-unset.nix @@ -14,7 +14,7 @@ nmt.script = let - goCfgDir = if !pkgs.stdenv.isDarwin then ".config/go" else "Library/Application\ Support/go"; + goCfgDir = if !pkgs.stdenv.isDarwin then ".config/go" else "Library/Application Support/go"; in '' assertFileExists "home-files/${goCfgDir}/env"