fixup CI vars
This commit is contained in:
parent
632be2e99b
commit
861315434c
1 changed files with 10 additions and 8 deletions
|
|
@ -26,14 +26,16 @@
|
||||||
env = lib.optionalAttrs pkgs.stdenv.isLinux {
|
env = lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||||
# nativeapi includes XInput2.h and GTK's Wayland headers, which need these, but xi.pc and gdk-3.0.pc
|
# nativeapi includes XInput2.h and GTK's Wayland headers, which need these, but xi.pc and gdk-3.0.pc
|
||||||
# only list them privately, so its hook's pkg-config doesn't return them. Hooks only get NIX_ variables.
|
# only list them privately, so its hook's pkg-config doesn't return them. Hooks only get NIX_ variables.
|
||||||
NIX_CFLAGS_COMPILE = lib.concatMapStringsSep " " (pkg: "-isystem ${lib.getDev pkg}/include") (
|
"NIX_CFLAGS_COMPILE_${pkgs.stdenv.cc.suffixSalt}" =
|
||||||
with pkgs;
|
lib.concatMapStringsSep " " (pkg: "-isystem ${lib.getDev pkg}/include")
|
||||||
[
|
(
|
||||||
libxext
|
with pkgs;
|
||||||
libxfixes
|
[
|
||||||
wayland
|
libxext
|
||||||
]
|
libxfixes
|
||||||
);
|
wayland
|
||||||
|
]
|
||||||
|
);
|
||||||
# better_player loads libmpv at runtime to play videos
|
# better_player loads libmpv at runtime to play videos
|
||||||
LD_LIBRARY_PATH = "./build/native_assets/linux:${
|
LD_LIBRARY_PATH = "./build/native_assets/linux:${
|
||||||
lib.makeLibraryPath [
|
lib.makeLibraryPath [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue