summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-04-10 22:51:13 +0300
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2016-04-14 08:32:20 +0300
commit897e0d12242b7ac9b7970f6708bcf0c3b3622719 (patch)
tree1634027517123eb296f394c0c5d6f82fc6e56586 /nixos
parent87cb1b0ca1c9c0be08eb4ee92397f87ae6126e10 (diff)
downloadnixpkgs-897e0d12242b7ac9b7970f6708bcf0c3b3622719.tar
nixpkgs-897e0d12242b7ac9b7970f6708bcf0c3b3622719.tar.gz
nixpkgs-897e0d12242b7ac9b7970f6708bcf0c3b3622719.tar.bz2
nixpkgs-897e0d12242b7ac9b7970f6708bcf0c3b3622719.tar.lz
nixpkgs-897e0d12242b7ac9b7970f6708bcf0c3b3622719.tar.xz
nixpkgs-897e0d12242b7ac9b7970f6708bcf0c3b3622719.tar.zst
nixpkgs-897e0d12242b7ac9b7970f6708bcf0c3b3622719.zip
treewide: Mass replace 'openssl}/bin' to refer to the correct outputs
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/nntp-proxy.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/nntp-proxy.nix b/nixos/modules/services/networking/nntp-proxy.nix
index cfa662c7311..dca8ccac762 100644
--- a/nixos/modules/services/networking/nntp-proxy.nix
+++ b/nixos/modules/services/networking/nntp-proxy.nix
@@ -224,7 +224,7 @@ in
       serviceConfig.ExecStart = "${nntp-proxy}/bin/nntp-proxy ${confFile}";
       preStart = ''
         if [ ! \( -f ${cfg.sslCert} -a -f ${cfg.sslKey} \) ]; then
-          ${pkgs.openssl}/bin/openssl req -subj '/CN=AutoGeneratedCert/O=NixOS Service/C=US' \
+          ${pkgs.openssl.bin}/bin/openssl req -subj '/CN=AutoGeneratedCert/O=NixOS Service/C=US' \
           -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout ${cfg.sslKey} -out ${cfg.sslCert};
         fi
       '';