Created
August 14, 2024 10:42
-
-
Save mvnetbiz/3cb28b078172de26a18cc53e994c7fb6 to your computer and use it in GitHub Desktop.
shell.nix for cross linux kernel
This file contains hidden or 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 | |
| pkgs = import <nixpkgs> { | |
| crossSystem = (import <nixpkgs/lib>).systems.examples.aarch64-multiplatform; | |
| }; | |
| in | |
| pkgs.mkShell rec { | |
| depsBuildBuild = [ pkgs.buildPackages.stdenv.cc ]; | |
| nativeBuildInputs = with pkgs.buildPackages; [ | |
| bison | |
| bc | |
| flex | |
| lzop | |
| pkg-config | |
| ncurses | |
| openssl | |
| ]; | |
| buildInputs = with pkgs; [ zlib ]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment