Files
koreader-mirror/tools/shell.nix
Benoit Pierre 5c3dfb2d88 doc: fix and improve build requirements (#14713)
- gettext is required since the switch to binary translations catalogs
- add shellcheck and shfmt to the optional dependencies for linting
- clarify minimum required and recommended versions
2025-12-12 22:58:05 +01:00

37 lines
550 B
Nix

let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-25.05";
pkgs = import nixpkgs { config = {}; overlays = []; };
in
pkgs.mkShell {
packages = with pkgs; [
autoconf
automake
cmake
gcc
gettext
git
gnumake
gnupatch
libtool
meson
nasm
ninja
perl
pkg-config
SDL2
unzip
wget
# optional
ccache
luajitPackages.luacheck
p7zip
shellcheck
shfmt
];
shellHook = ''
export LD_LIBRARY_PATH=${pkgs.SDL2}/lib:$LD_LIBRARY_PATH
'';
}