Conversation
|
Result of 1 package failed to build:
|
|
Does it build for you? Fails here as: |
|
It builds when I check out d2325a46aff and there is no commit mentioning SDL2 since then... |
|
Ah, it's because |
In NixOS#197798 (comment) we noticed that `eduke32` fails to build as: source/build/include/sdl_inc.h:17:12: fatal error: SDL2/SDL.h: No such file or directory 17 | # include <SDL2/SDL.h> | ^~~~~~~~~~~~ It statred after NixOS#191724 where `NIX_CFLAGS_COMPILE` entries were cleaned up slightly. This change works build failure around. But I think it's a good change: there should be no reason to set SDL2 offset via forced include paths.
|
Proposed #198019 to remove unused |
|
Result of 1 package failed to build:
|
|
AFAIU I suggest fixing headers locally as: --- a/pkgs/games/eduke32/default.nix
+++ b/pkgs/games/eduke32/default.nix
@@ -57,6 +57,11 @@ in stdenv.mkDerivation rec {
substituteInPlace source/glad/src/$f \
--replace libGL.so ${libGL}/lib/libGL.so
done
+
+ substituteInPlace source/imgui/src/imgui_impl_sdl.cpp \
+ --replace '#include <SDL.h>' '#include <SDL2/SDL.h>' \
+ --replace '#include <SDL_syswm.h>' '#include <SDL2/SDL_syswm.h>' \
+ --replace '#include <SDL_vulkan.h>' '#include <SDL2/SDL_vulkan.h>'
'';
makeFlags = [WDYT? |
|
Result of 1 package failed to build:
|
|
@trofi now ;) |
|
Result of 1 package built:
|
|
Result of 1 package built:
|
|
Pulled. Thank you! Apologies for so many sidetracks with include headers. |
|
Big thanks @ all of you ❤️ |
Description of changes
Closes #189158
ZHF: #199919 (see discussion below)
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review pr 197798". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes