jenkins: Use stdenvNoCC instead of stdenv to build package

A C compiler is not needed in order to build Jenkins. So use stdenvNoCC
instead.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
Felix Singer
2025-11-12 22:52:04 +01:00
parent 25444f605d
commit a43903b36c
+3 -3
View File
@@ -1,6 +1,6 @@
{
lib,
stdenv,
stdenvNoCC,
fetchurl,
common-updater-scripts,
coreutils,
@@ -16,7 +16,7 @@
curl,
}:
stdenv.mkDerivation (finalAttrs: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "jenkins";
version = "2.528.1";
@@ -44,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
tests = { inherit (nixosTests) jenkins jenkins-cli; };
updateScript = writeScript "update.sh" ''
#!${stdenv.shell}
#!${stdenvNoCC.shell}
set -o errexit
PATH=${
lib.makeBinPath [