mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
wayland: Add a "bin" and "dev" output
Another advantage is that we can now use the wayland-scanner alias for nativeBuildInputs (which is less confusing than adding "wayland" to both nativeBuildInputs and buildInputs).
This commit is contained in:
parent
827f7a3e43
commit
6a30a601c7
3 changed files with 5 additions and 4 deletions
|
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
|
|||
patchShebangs doc/doxygen/gen-doxygen.py
|
||||
'';
|
||||
|
||||
outputs = [ "out" ] ++ lib.optionals withDocumentation [ "doc" "man" ];
|
||||
outputs = [ "out" "bin" "dev" ] ++ lib.optionals withDocumentation [ "doc" "man" ];
|
||||
separateDebugInfo = true;
|
||||
|
||||
mesonFlags = [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wayland
|
||||
, libGL, wayland-protocols, libinput, libxkbcommon, pixman
|
||||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wayland-scanner
|
||||
, libGL, wayland, wayland-protocols, libinput, libxkbcommon, pixman
|
||||
, xcbutilwm, libX11, libcap, xcbutilimage, xcbutilerrors, mesa
|
||||
, libpng, ffmpeg
|
||||
}:
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
# $out for the library and $examples for the example programs (in examples):
|
||||
outputs = [ "out" "examples" ];
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config wayland ];
|
||||
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ];
|
||||
|
||||
buildInputs = [
|
||||
libGL wayland wayland-protocols libinput libxkbcommon pixman
|
||||
|
|
|
@ -17687,6 +17687,7 @@ in
|
|||
wavpack = callPackage ../development/libraries/wavpack { };
|
||||
|
||||
wayland = callPackage ../development/libraries/wayland { };
|
||||
wayland-scanner = wayland.bin;
|
||||
|
||||
wayland-protocols = callPackage ../development/libraries/wayland/protocols.nix { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue