summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 3fcb236..2d6e5db 100644
--- a/flake.nix
+++ b/flake.nix
@@ -121,6 +121,7 @@
ncurses
openssl
SDL2
+ zlib
];
nativeBuildInputs = [
@@ -143,8 +144,8 @@
shellHook = ''
export CROSS_COMPILE=arm-unknown-linux-gnueabi-
export MAKEFLAGS="AR=gcc-ar"
- export CXXFLAGS="$(pkg-config --cflags sdl2 ncursesw)"
- export LDFLAGS="$(pkg-config --libs sdl2 ncursesw)"
+ export CXXFLAGS="$(pkg-config --cflags ncursesw sdl2 zlib)"
+ export LDFLAGS="$(pkg-config --libs ncursesw sdl2 zlib)"
# <https://discourse.nixos.org/t/fonts-in-nix-installed-packages-on-a-non-nixos-system/5871/7>
export LOCALE_ARCHIVE="${glibcLocales}/lib/locale/locale-archive"