diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2024-03-17 23:33:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-17 23:33:42 +0100 |
commit | 1f212fd6e6981764c76a3a29f4eb822c0c40a89c (patch) | |
tree | 4395c6f20962150b8ec634fa460ef33fb4993d63 /nixos/modules/services/networking | |
parent | 33598e7ef79169232a9380b38620fd2492708fd8 (diff) | |
parent | 149fb601dd1546587934c74724ff7fb700c75380 (diff) | |
download | nixlib-1f212fd6e6981764c76a3a29f4eb822c0c40a89c.tar nixlib-1f212fd6e6981764c76a3a29f4eb822c0c40a89c.tar.gz nixlib-1f212fd6e6981764c76a3a29f4eb822c0c40a89c.tar.bz2 nixlib-1f212fd6e6981764c76a3a29f4eb822c0c40a89c.tar.lz nixlib-1f212fd6e6981764c76a3a29f4eb822c0c40a89c.tar.xz nixlib-1f212fd6e6981764c76a3a29f4eb822c0c40a89c.tar.zst nixlib-1f212fd6e6981764c76a3a29f4eb822c0c40a89c.zip |
Merge pull request #289025 from tcheronneau/issue-288907
nixos/tinyproxy: fix the quotes around the filter path
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r-- | nixos/modules/services/networking/tinyproxy.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/tinyproxy.nix b/nixos/modules/services/networking/tinyproxy.nix index 8ff12b52f10c..2b7509e99ca4 100644 --- a/nixos/modules/services/networking/tinyproxy.nix +++ b/nixos/modules/services/networking/tinyproxy.nix @@ -7,6 +7,7 @@ let mkValueStringTinyproxy = with lib; v: if true == v then "yes" else if false == v then "no" + else if types.path.check v then ''"${v}"'' else generators.mkValueStringDefault {} v; mkKeyValueTinyproxy = { mkValueString ? mkValueStringDefault {} |