From db541aebb373f755006dd174131814832a65b795 Mon Sep 17 00:00:00 2001 From: noe Date: Sat, 6 Jan 2024 13:26:06 -0500 Subject: [PATCH] ingress-proxy: refactor vhosts --- nixos/hosts/ingress-proxy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/hosts/ingress-proxy/default.nix b/nixos/hosts/ingress-proxy/default.nix index 8ba08bb..984e8bd 100644 --- a/nixos/hosts/ingress-proxy/default.nix +++ b/nixos/hosts/ingress-proxy/default.nix @@ -33,7 +33,7 @@ in { serverAliases = aliases; root = pkgs.stdenvNoCC.mkDerivation { - src = src ? pkgs.lib.fetchGit { inherit url ref; }; + src = if src then src else pkgs.lib.fetchGit { inherit url ref; }; installPhase = "cp -r $src $out"; }; };