Commit c4a1ebe4 authored by Doron Behar's avatar Doron Behar
Browse files

sudo: split man, doc & dev outputs

parent b9286b0e
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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