mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
22 lines
511 B
Nix
22 lines
511 B
Nix
# Use --argstr system i686-linux to build for 32-bit linux.
|
|
{ system ? builtins.currentSystem }:
|
|
with (import <nixpkgs> {
|
|
inherit system;
|
|
});
|
|
mkShell {
|
|
buildInputs = with pkgs; [
|
|
binutils.bintools
|
|
cacert
|
|
cmake
|
|
git
|
|
libxkbcommon
|
|
nix
|
|
pkg-config
|
|
scons
|
|
] ++ lib.optionals (system == builtins.currentSystem) [
|
|
# Additional dependencies for cross-compiling for Windows and OSX.
|
|
clang
|
|
pkgsCross.mingwW64.buildPackages.gcc
|
|
pkgsCross.mingw32.buildPackages.gcc
|
|
];
|
|
}
|