mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
river: split man output
This commit is contained in:
parent
c4867cc794
commit
299723c875
@ -15,6 +15,7 @@
|
||||
, wlroots_0_16
|
||||
, xwayland
|
||||
, zigHook
|
||||
, withManpages ? true
|
||||
, xwaylandSupport ? true
|
||||
}:
|
||||
|
||||
@ -22,6 +23,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "river";
|
||||
version = "0.2.4";
|
||||
|
||||
outputs = [ "out" ] ++ lib.optionals withManpages [ "man" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "riverwm";
|
||||
repo = "river";
|
||||
@ -32,11 +35,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
scdoc
|
||||
wayland
|
||||
xwayland
|
||||
zigHook
|
||||
];
|
||||
]
|
||||
++ lib.optional withManpages scdoc;
|
||||
|
||||
buildInputs = [
|
||||
libGL
|
||||
@ -51,10 +54,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
zigBuildFlags = [
|
||||
"-Dman-pages"
|
||||
]
|
||||
++ lib.optional xwaylandSupport "-Dxwayland";
|
||||
zigBuildFlags = lib.optional withManpages "-Dman-pages"
|
||||
++ lib.optional xwaylandSupport "-Dxwayland";
|
||||
|
||||
postInstall = ''
|
||||
install contrib/river.desktop -Dt $out/share/wayland-sessions
|
||||
|
Loading…
Reference in New Issue
Block a user