sudo: split man, doc & dev outputs

This commit is contained in:
Doron Behar
2026-02-08 15:26:43 +02:00
parent b9286b0e60
commit c4a1ebe409
+12
View File
@@ -54,6 +54,18 @@ stdenv.mkDerivation (finalAttrs: {
"--with-sssd-lib=${sssd}/lib"
];
outputs = [
"out"
"man"
"doc"
"dev"
];
# The default stdenv ./configure flags for some reason cause the upstream's
# Makefile to `mkdir /var/db`, which fails in the sandbox. Since we split
# only trivial outputs - a single header and documentation, we can safely set
# the following:
setOutputFlags = false;
postConfigure = ''
cat >> pathnames.h <<'EOF'
#undef _PATH_MV