-
-
Save lf-/142c9fc6586be731abc62d394c7c3e35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let pkgsNative = import <nixpkgs> { }; | |
pkgs = import <nixpkgs> { | |
crossSystem = { | |
config = "arm-unknown-linux-gnueabi"; | |
}; | |
config = { | |
allowUnsupportedSystem = true; | |
}; | |
}; | |
qemu-user = pkgsNative.qemu.override { | |
smartcardSupport = false; | |
spiceSupport = false; | |
openGLSupport = false; | |
virglSupport = false; | |
vncSupport = false; | |
gtkSupport = false; | |
sdlSupport = false; | |
pulseSupport = false; | |
smbdSupport = false; | |
seccompSupport = false; | |
hostCpuTargets = ["arm-linux-user"]; | |
}; | |
in | |
{ | |
shell = pkgs.mkShell { | |
nativeBuildInputs = [ qemu-user ]; | |
# nativeBuildInputs = [ binutils gcc ]; | |
}; | |
inherit qemu-user; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment