summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJustin Humm <justin.humm@posteo.de>2020-08-12 19:28:41 +0200
committerGitHub <noreply@github.com>2020-08-12 19:28:41 +0200
commit90ed2c01f0826fbee4036629ee323ca736d171bb (patch)
treea52c3c21814060126a01b31febfe7736e45e4e20 /nixos
parent612c48592d7f6665ee771043910b2592f0215919 (diff)
parent957da625c5e268083ca5d41d0042e76f23857e00 (diff)
downloadnixpkgs-90ed2c01f0826fbee4036629ee323ca736d171bb.tar
nixpkgs-90ed2c01f0826fbee4036629ee323ca736d171bb.tar.gz
nixpkgs-90ed2c01f0826fbee4036629ee323ca736d171bb.tar.bz2
nixpkgs-90ed2c01f0826fbee4036629ee323ca736d171bb.tar.lz
nixpkgs-90ed2c01f0826fbee4036629ee323ca736d171bb.tar.xz
nixpkgs-90ed2c01f0826fbee4036629ee323ca736d171bb.tar.zst
nixpkgs-90ed2c01f0826fbee4036629ee323ca736d171bb.zip
Merge pull request #95266 from Lassulus/gollum-text
nixos/gollum: replace toFile with writeText
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/misc/gollum.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/gollum.nix b/nixos/modules/services/misc/gollum.nix
index f4a9c72b154..8842e1e4d90 100644
--- a/nixos/modules/services/misc/gollum.nix
+++ b/nixos/modules/services/misc/gollum.nix
@@ -98,7 +98,7 @@ in
           ${pkgs.gollum}/bin/gollum \
             --port ${toString cfg.port} \
             --host ${cfg.address} \
-            --config ${builtins.toFile "gollum-config.rb" cfg.extraConfig} \
+            --config ${pkgs.writeText "gollum-config.rb" cfg.extraConfig} \
             --ref ${cfg.branch} \
             ${optionalString cfg.mathjax "--mathjax"} \
             ${optionalString cfg.emoji "--emoji"} \