mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
nixos/gollum: replace toFile with writeText
This commit is contained in:
parent
44d841f758
commit
957da625c5
@ -98,7 +98,7 @@ in
|
|||||||
${pkgs.gollum}/bin/gollum \
|
${pkgs.gollum}/bin/gollum \
|
||||||
--port ${toString cfg.port} \
|
--port ${toString cfg.port} \
|
||||||
--host ${cfg.address} \
|
--host ${cfg.address} \
|
||||||
--config ${builtins.toFile "gollum-config.rb" cfg.extraConfig} \
|
--config ${pkgs.writeText "gollum-config.rb" cfg.extraConfig} \
|
||||||
--ref ${cfg.branch} \
|
--ref ${cfg.branch} \
|
||||||
${optionalString cfg.mathjax "--mathjax"} \
|
${optionalString cfg.mathjax "--mathjax"} \
|
||||||
${optionalString cfg.emoji "--emoji"} \
|
${optionalString cfg.emoji "--emoji"} \
|
||||||
|
Loading…
Reference in New Issue
Block a user