]> rethought.computer Git - sorel-lang.git/commitdiff
more correct nix flake keep/bedb24465ea9b9b55257e00f10f57f5b75ecbcc1
authorBryan English <bryan@rethought.computer>
Mon, 9 Feb 2026 14:32:20 +0000 (09:32 -0500)
committerBryan English <bryan@rethought.computer>
Tue, 10 Feb 2026 04:08:54 +0000 (04:08 +0000)
rel-lang/flake.nix

index 01bd2a5bf6c56de2c5c65983e52856d0d9d3c467..0e88f678fe3f8545af085fcc2a8695434bedc055 100644 (file)
@@ -9,7 +9,6 @@
     system = "x86_64-linux";
     pkgs = import nixpkgs {
       # uncomment the next bit to install cross-compiler toolchain
-
       # crossSystem = {
       #   config = "riscv64-unknown-linux-gnu";
       #   # Or if you want to build against MUSL:
@@ -20,6 +19,9 @@
   in {
     devShells.${system}.default = pkgs.mkShell {
       packages = [
+        pkgs.pkgsCross.riscv64.buildPackages.gcc
+        pkgs.pkgsCross.riscv64.buildPackages.gdb
+        pkgs.gdb
         pkgs.qemu
       ];
     };