Commit e5fe6f4c authored by sternenseemann's avatar sternenseemann Committed by sterni
Browse files

skawarePackages.buildManPages: drop unnecessary sections parameter

Upstream has started passing the `-D` flag to install thankfully, so we
no longer need to create the section subdirectories ahead of time.
parent 20207026
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -7,8 +7,6 @@
, version
  # : string
, sha256
  # : list (int | string)
, sections
  # : string
, description
  # : list Maintainer
@@ -39,10 +37,6 @@ stdenv.mkDerivation {

  dontBuild = true;

  preInstall = lib.concatMapStringsSep "\n"
    (section: "mkdir -p \"${manDir}/man${builtins.toString section}\"")
    sections;

  meta = with lib; {
    inherit description license maintainers;
    inherit (src.meta) homepage;
+0 −1
Original line number Diff line number Diff line
@@ -5,6 +5,5 @@ buildManPages {
  version = "2.8.1.0.1";
  sha256 = "0d3lzxy7wv91q3nr6bw1wfmrfj285i15wmj4c8v9k9pxjg42iwwx";
  description = "Port of the documentation for the execline suite to mdoc";
  sections = [ 1 7 ];
  maintainers = [ lib.maintainers.sternenseemann ];
}
+0 −1
Original line number Diff line number Diff line
@@ -5,6 +5,5 @@ buildManPages {
  version = "2.11.0.0.1";
  sha256 = "00nxlpdf0kkdadyv84vj5w66y926pccqls8prkbip3zmcmnqgghs";
  description = "Port of the documentation for the s6 supervision suite to mdoc";
  sections = [ 1 7 ];
  maintainers = [ lib.maintainers.sternenseemann ];
}
+0 −1
Original line number Diff line number Diff line
@@ -5,6 +5,5 @@ buildManPages {
  version = "2.5.0.0.1";
  sha256 = "02xvyby23b2x30jxd4nw9c5629j4hdaxq9sph3qhajlhl53yiyf2";
  description = "Port of the documentation for the s6-networking suite to mdoc";
  sections = [ 1 7 ];
  maintainers = [ lib.maintainers.sternenseemann ];
}