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"