From 51b2714417a45f7682ae9aab354aec3cd53b34bb Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sun, 25 Aug 2024 12:03:58 +0200 Subject: [PATCH] apacheHttpdPackages.mod_jk: reformat with nixfmt-rfc-style --- .../http/apache-modules/mod_jk/default.nix | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/http/apache-modules/mod_jk/default.nix b/pkgs/servers/http/apache-modules/mod_jk/default.nix index fd66cd09fb51..b1134f7d3f3c 100644 --- a/pkgs/servers/http/apache-modules/mod_jk/default.nix +++ b/pkgs/servers/http/apache-modules/mod_jk/default.nix @@ -1,4 +1,11 @@ -{ lib, stdenv, autoreconfHook, fetchFromGitHub, apacheHttpd, jdk }: +{ + lib, + stdenv, + apacheHttpd, + autoreconfHook, + fetchFromGitHub, + jdk, +}: stdenv.mkDerivation rec { pname = "mod_jk"; @@ -11,19 +18,20 @@ stdenv.mkDerivation rec { hash = "sha256-hlwlx7Sb4oeZIzHQYOC3e9xEZK9u6ZG8Q2U/XdKMe3U="; }; + sourceRoot = "${src.name}/native"; + nativeBuildInputs = [ autoreconfHook ]; - buildInputs = [ apacheHttpd jdk ]; + buildInputs = [ + apacheHttpd + jdk + ]; configureFlags = [ "--with-apxs=${apacheHttpd.dev}/bin/apxs" "--with-java-home=${jdk}" ]; - setSourceRoot = '' - sourceRoot=$(echo */native) - ''; - installPhase = '' runHook preInstall