Loading pkgs/servers/authelia/default.nix +12 −9 Original line number Diff line number Diff line { lib, stdenv, nodejs, pnpm, fetchFromGitHub, Loading Loading @@ -59,10 +60,12 @@ buildGoModule rec { # several tests with networking and several that want chromium doCheck = false; postInstall = '' postInstall = '' mkdir -p $out/etc/authelia cp config.template.yml $out/etc/authelia '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd authelia \ --bash <($out/bin/authelia completion bash) \ --fish <($out/bin/authelia completion fish) \ Loading Loading
pkgs/servers/authelia/default.nix +12 −9 Original line number Diff line number Diff line { lib, stdenv, nodejs, pnpm, fetchFromGitHub, Loading Loading @@ -59,10 +60,12 @@ buildGoModule rec { # several tests with networking and several that want chromium doCheck = false; postInstall = '' postInstall = '' mkdir -p $out/etc/authelia cp config.template.yml $out/etc/authelia '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd authelia \ --bash <($out/bin/authelia completion bash) \ --fish <($out/bin/authelia completion fish) \ Loading