Skip to content

Commit

Permalink
Replace Nix env-with-everything with build-legacy-software
Browse files Browse the repository at this point in the history
Removes the `env-with-everything` environment, as there isn't much
practical reason to have an environment where you build the simulator
and also have the legacy toolchain, exclusive to Linux.

Instead, it makes more sense to retain the existing simulator
environment, and add a separate environment `build-legacy-software` that
can be used to get the legacy toolchain on Linux systems. This means
that entering this environment for building legacy software is much
quicker, and the same functionality can be retained by overlaying the
two environments (entering the sim environment, then the legacy one).
  • Loading branch information
AlexJones0 authored and marnovandermaas committed Nov 11, 2024
1 parent dc23b01 commit e3bfa32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@
packages = [sonataSystemPkgs.sonata-simulator] ++ default.nativeBuildInputs;
SONATA_SIM_BOOT_STUB = "${sonataSystemPkgs.sonata-sim-boot-stub.out}/share/sim_boot_stub";
};
env-with-everything = pkgs.mkShell {
name = "sonata-sw-with-everything";
packages = env-with-sim.nativeBuildInputs ++ [lrPkgs.lowrisc-toolchain-gcc-rv32imcb];
build-legacy-software = pkgs.mkShell {
name = "sonata-sw-legacy";
packages = [lrPkgs.lowrisc-toolchain-gcc-rv32imcb];
};
};
packages = {
Expand Down

0 comments on commit e3bfa32

Please sign in to comment.