diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index 2ffd414..21b837c 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -395,6 +395,15 @@ pkgs: oldpkgs: { ${pkgs.jq}/bin/jq . "$jsonPath" > "$out" ''; + writeNginxConfig = name: text: pkgs.runCommand name { + inherit text; + passAsFile = [ "text" ]; + } /* sh */ '' + cp "$textPath" $out + ${pkgs.nginx-config-formatter}/bin/nginxfmt $out + ${pkgs.gixy}/bin/gixy $out + ''; + writeNixFromCabal = trace (toString [ "The function `writeNixFromCabal` has been deprecated in favour of" |