about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2015-02-05 12:08:28 +0100
committerEdward Tjörnhammar <ed@cflags.cc>2015-02-05 12:09:59 +0100
commit83925c33f6e54b0ceb9c83f54ea6d49e9eb8f12d (patch)
treeb464c3dd4d411997448acb22590772340495a44c /nixos
parent100f4a46606005eac0bb4d4411f1547cb6d7ff5f (diff)
downloadnixlib-83925c33f6e54b0ceb9c83f54ea6d49e9eb8f12d.tar
nixlib-83925c33f6e54b0ceb9c83f54ea6d49e9eb8f12d.tar.gz
nixlib-83925c33f6e54b0ceb9c83f54ea6d49e9eb8f12d.tar.bz2
nixlib-83925c33f6e54b0ceb9c83f54ea6d49e9eb8f12d.tar.lz
nixlib-83925c33f6e54b0ceb9c83f54ea6d49e9eb8f12d.tar.xz
nixlib-83925c33f6e54b0ceb9c83f54ea6d49e9eb8f12d.tar.zst
nixlib-83925c33f6e54b0ceb9c83f54ea6d49e9eb8f12d.zip
i2pd: 0.6.0 -> 0.7.0
nixos: i2pd.service, fix string escaping
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/i2pd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/i2pd.nix b/nixos/modules/services/networking/i2pd.nix
index 95b0ae59ff3c..7ee78f01d497 100644
--- a/nixos/modules/services/networking/i2pd.nix
+++ b/nixos/modules/services/networking/i2pd.nix
@@ -8,7 +8,7 @@ let
 
   homeDir = "/var/lib/i2pd";
 
-  extip = "EXTIP=$(${pkgs.curl}/bin/curl -sf "http://jsonip.com" | ${pkgs.gawk}/bin/awk -F'\"' '{print $4}')";
+  extip = "EXTIP=\$(${pkgs.curl}/bin/curl -sf \"http://jsonip.com\" | ${pkgs.gawk}/bin/awk -F'\"' '{print $4}')";
 
   i2pSh = pkgs.writeScriptBin "i2pd" ''
     #!/bin/sh