mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
7cadc17591
For a while now, we’ve had these separate derivations for the skaware manpages. That was fine in the beginning, because it was not entirely clear whether the manpage project would be long-lived. Given that the collection of third-party manpages is now extensive and updated regularly, plus it is sanctioned by skarnet, we can remove this additional hurdle to using skaware. The buildManPage structure is kept, instead of building them in a separate `default.nix`, we add a field `manpages` to `skawarePackages.buildPackage`, which adds the `"man"` output and copies everything from the manpages output. For backwards-compat, the manpage derivation is exposed in the `passthru` and referenced by the `*-man-pages` attributes. ~~~ The `with skawarePackages;` scope is removed from all packages, and used explicitly for all functions, while packages get added to the package import header.
41 lines
1.3 KiB
Nix
41 lines
1.3 KiB
Nix
{ lib, pkgs }:
|
|
|
|
lib.makeScope pkgs.newScope (self:
|
|
let
|
|
inherit (self) callPackage;
|
|
in {
|
|
buildManPages = callPackage ./build-skaware-man-pages.nix { };
|
|
buildPackage = callPackage ./build-skaware-package.nix { };
|
|
cleanPackaging = callPackage ./clean-packaging.nix { };
|
|
|
|
# execline
|
|
execline = callPackage ./execline { };
|
|
|
|
# servers & tools
|
|
mdevd = callPackage ./mdevd { };
|
|
nsss = callPackage ./nsss { };
|
|
tipidee = callPackage ./tipidee { };
|
|
utmps = callPackage ./utmps { };
|
|
|
|
# libs
|
|
skalibs = callPackage ./skalibs { };
|
|
skalibs_2_10 = callPackage ./skalibs/2_10.nix { };
|
|
sdnotify-wrapper = callPackage ./sdnotify-wrapper { };
|
|
|
|
# s6 tooling
|
|
s6 = callPackage ./s6 { };
|
|
s6-dns = callPackage ./s6-dns { };
|
|
s6-linux-init = callPackage ./s6-linux-init { };
|
|
s6-linux-utils = callPackage ./s6-linux-utils { };
|
|
s6-networking = callPackage ./s6-networking { };
|
|
s6-portable-utils = callPackage ./s6-portable-utils { };
|
|
s6-rc = callPackage ./s6-rc { };
|
|
|
|
# manpages (DEPRECATED, they are added directly to the packages now)
|
|
execline-man-pages = self.execline.passthru.manpages;
|
|
s6-man-pages = self.s6.passthru.manpages;
|
|
s6-networking-man-pages = self.s6-networking.passthru.manpages;
|
|
s6-portable-utils-man-pages = self.s6-portable-utils.passthru.manpages;
|
|
s6-rc-man-pages = self.s6-rc.passthru.manpages;
|
|
})
|