mirror of
https://github.com/minetest/minetest.git
synced 2024-11-13 14:00:29 +01:00
a0e33ba9ea
This permit to have reproducible development environment across OS (Linuxes, but maybe Mac OSX too). It makes minetest compilable directly in a nix-shell with Nix/Lix but also on NixOS
26 lines
425 B
Nix
26 lines
425 B
Nix
{ pkgs ? import <nixpkgs> {}, }:
|
|
|
|
pkgs.mkShell {
|
|
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
|
|
env.LANG = "C.UTF-8";
|
|
env.LC_ALL = "C.UTF-8";
|
|
|
|
packages = [
|
|
pkgs.gcc
|
|
pkgs.cmake
|
|
pkgs.zlib
|
|
pkgs.zstd
|
|
pkgs.libjpeg
|
|
pkgs.libpng
|
|
pkgs.libGL
|
|
pkgs.SDL2
|
|
pkgs.openal
|
|
pkgs.curl
|
|
pkgs.libvorbis
|
|
pkgs.libogg
|
|
pkgs.gettext
|
|
pkgs.freetype
|
|
pkgs.sqlite
|
|
];
|
|
}
|