gnuradio: add man output

This commit is contained in:
Sandro Jäckel
2025-11-17 21:32:45 +01:00
parent c78768e154
commit e9efeac16c
2 changed files with 15 additions and 5 deletions
@@ -27,6 +27,10 @@ let
cross = stdenv.hostPlatform != stdenv.buildPlatform;
in
{
outputs = [
"out"
"man"
];
src =
if overrideSrc != { } then
overrideSrc
+11 -5
View File
@@ -79,7 +79,7 @@ let
pythonEnv = unwrapped.python.withPackages (ps: pythonPkgs);
pname = unwrapped.pname + "-wrapped";
inherit (unwrapped) version;
inherit (unwrapped) outputs version;
makeWrapperArgs = builtins.concatStringsSep " " (
[
]
@@ -214,15 +214,21 @@ let
self =
if doWrap then
stdenv.mkDerivation {
inherit pname version passthru;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
inherit
pname
outputs
version
passthru
;
nativeBuildInputs = [
makeWrapper
xorg.lndir
];
buildCommand = ''
mkdir $out
cd $out
lndir -silent ${unwrapped}
lndir -silent ${unwrapped.out}
lndir -silent ${unwrapped.man}
${lib.optionalString (extraPackages != [ ]) (
builtins.concatStringsSep "\n" (
map (pkg: ''