1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

Merge pull request #273190 from uninsane/pr-cross-wob

wob: fix cross compilation
This commit is contained in:
Nick Cao 2023-12-10 11:35:05 -05:00 committed by GitHub
commit 187c4cd99a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,8 +28,8 @@ stdenv.mkDerivation rec {
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [ meson ninja pkg-config cmocka scdoc wayland-scanner ];
buildInputs = [ inih wayland wayland-protocols ]
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];
buildInputs = [ cmocka inih wayland wayland-protocols ]
++ lib.optional stdenv.isLinux libseccomp;
mesonFlags = lib.optional stdenv.isLinux "-Dseccomp=enabled";