procps: split outputs (out, dev, man, doc) (#528209)

This commit is contained in:
Michael Daniels 2026-06-07 17:04:20 +00:00 committed by GitHub
commit 664cbe7cf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,6 +31,15 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-Z76m+8OkKlNaAjDJ6JHl3ftNnTlCLUZWWimQ0azhUhY=";
};
outputs = [
"out"
"man"
"dev"
]
++ lib.optionals (!watchOnly) [
"doc"
];
buildInputs = [ ncurses ] ++ lib.optionals withSystemd [ systemdLibs ];
nativeBuildInputs = [
pkg-config
@ -40,6 +49,8 @@ stdenv.mkDerivation (finalAttrs: {
makeFlags = [ "usrbin_execdir=$(out)/bin" ] ++ lib.optionals watchOnly [ "src/watch" ];
enableParallelBuilding = true;
strictDeps = true;
__structuredAttrs = true;
# Too red; 8bit support for fixing https://github.com/NixOS/nixpkgs/issues/275220
configureFlags = [