This repository has been archived on 2025-06-25. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
RiscV-Formal/shell.nix
2025-02-12 23:54:15 -05:00

16 lines
No EOL
285 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let
riscv64-linux = pkgs.pkgsCross.riscv64;
in
pkgs.mkShell {
buildInputs = [
riscv64-linux.gcc
riscv64-linux.binutils
riscv64-linux.glibc
];
shellHook = ''
echo "RISC-V Linux cross-compilation environment initialized!"
'';
}