treewide: use flat lists for *Inputs, fix env usage
This commit is contained in:
parent
839c0ea7a5
commit
81ffabdf4f
@ -118,7 +118,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# TODO: Fix missing math symbols in gegl seamless clone.
|
||||
# It only appears when we use packaged poly2tri-c instead of vendored one.
|
||||
NIX_CFLAGS_COMPILE = [ "-lm" ];
|
||||
NIX_CFLAGS_COMPILE = "-lm";
|
||||
|
||||
postPatch = ''
|
||||
chmod +x tests/opencl/opencl_test.sh tests/buffer/buffer-tests-run.sh
|
||||
|
@ -720,7 +720,7 @@ in with stdenv.lib.licenses;
|
||||
license = gpl2;
|
||||
extraBuildInputs = [ cmake libGLU libGL ffmpeg python37 xorg.libX11 ];
|
||||
}).override {
|
||||
cmakeFlags = "-DLIBRETRO=ON";
|
||||
cmakeFlags = [ "-DLIBRETRO=ON" ];
|
||||
makefile = "Makefile";
|
||||
buildPhase = ''
|
||||
make \
|
||||
|
@ -39,11 +39,11 @@ in stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ]
|
||||
++ optional withVulkan [ makeWrapper ];
|
||||
++ optionals withVulkan [ makeWrapper ];
|
||||
|
||||
buildInputs = [ ffmpeg freetype libxml2 libGLU libGL python3 SDL2 which ]
|
||||
++ optional enableNvidiaCgToolkit nvidia_cg_toolkit
|
||||
++ optional withVulkan [ vulkan-loader ]
|
||||
++ optionals withVulkan [ vulkan-loader ]
|
||||
++ optionals stdenv.isDarwin [ libobjc AppKit Foundation ]
|
||||
++ optionals stdenv.isLinux [ alsaLib libdrm libpulseaudio libv4l libX11
|
||||
libXdmcp libXext libXxf86vm mesa udev ];
|
||||
|
Loading…
Reference in New Issue
Block a user