Remove cross-compilation dependencies

It makes the github actions workflow take longer and cross-compiled
artifacts are not currently used (nor do they seem to work).
This commit is contained in:
Leroy Hopson 2020-11-21 19:00:40 +07:00 committed by Leroy Hopson
parent 570896b9c0
commit 6689ad1c09
3 changed files with 5 additions and 36 deletions

View file

@ -1,22 +1,9 @@
# Use --argstr system i686-linux to build for 32-bit linux.
{ system ? builtins.currentSystem }:
with (import <nixpkgs> {
inherit system;
});
with (import <nixpkgs> {});
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
cacert # Required for git clone on GithHub actions runner.
];
}