diff options
| author | seth <[email protected]> | 2024-07-02 04:14:28 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-07-02 04:14:28 -0400 |
| commit | 02146a53445889d31c75151c60066cbef36891cb (patch) | |
| tree | 1ff0f8f24a9d1edcadf051db6a06814bb921cd76 /flake.nix | |
| parent | 24d92030dda5bbe03542e0bae51c8810f3a48548 (diff) | |
feat: add build shellbuild-shell
this will allow compiling the firmware using the previously packaged
toolchain in an FHS environment
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -28,6 +28,18 @@ ); in { + devShells = forAllSystems ( + system: + let + pkgs = nixpkgsFor.${system}.native; + in + { + firmware-build = pkgs.callPackage ./firmware-build-shell.nix { + toolchain = self.packages.${system}.default; + }; + } + ); + formatter = forAllSystems (system: nixpkgsFor.${system}.native.nixfmt-rfc-style); packages = forAllSystems ( |
