Fix up args

master
Sven Slootweg 7 years ago
parent 704cfc7eb8
commit a140780ccd

@ -1,5 +1,5 @@
{pkgs, ...}: {pkgs, ...}@args:
(import ../lib/node-application.nix) { inherit pkgs; } { (import ../lib/node-application.nix) args {
tarball = "https://git.cryto.net/joepie91/pastebin-stream/archive/master.tar.gz"; tarball = "https://git.cryto.net/joepie91/pastebin-stream/archive/master.tar.gz";
name = "pastebin-stream"; name = "pastebin-stream";
hasErrorReporting = true; hasErrorReporting = true;

@ -1,4 +1,4 @@
{pkgs}: {tarball, name, mainBinaryPath, serviceOptions ? {}, serviceConfig ? {}, hasErrorReporting ? false}: {pkgs, config, ...}: {tarball, name, mainBinaryPath, serviceOptions ? {}, serviceConfig ? {}, hasErrorReporting ? false}:
with pkgs.stdenv.lib; with pkgs.stdenv.lib;
let let

@ -1,7 +1,7 @@
{ {
network.description = "Cryto"; network.description = "Cryto";
osmium = { config, lib, pkgs, ... }: let osmium = { config, lib, pkgs, ... }@args: let
proxiedApplications = [{ proxiedApplications = [{
hostname = "pastebin-stream.cryto.net"; hostname = "pastebin-stream.cryto.net";
tls = false; tls = false;
@ -23,7 +23,7 @@
pastebinStream = (import ../applications/pastebin-stream.nix); pastebinStream = (import ../applications/pastebin-stream.nix);
in { in {
imports = [ imports = [
pastebinStream { inherit pkgs; } pastebinStream args
]; ];
services.caddy = { services.caddy = {

Loading…
Cancel
Save