Skip to content

Commit

Permalink
Update flake
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Jun 10, 2024
1 parent 0f8f9f9 commit c768402
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 296 deletions.
95 changes: 8 additions & 87 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
ravedude.url = "github:Rahix/avr-hal?dir=ravedude";
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
};

outputs = {
self,
nixpkgs,
flake-utils,
ravedude,
}:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = import nixpkgs {inherit system;};
ravedude' = ravedude.packages."${system}".default;
in rec {
in {
devShell = pkgs.mkShell {
packages = with pkgs; [
# Code formatting tools
Expand All @@ -29,13 +26,12 @@

# koishi firmware
avrdude
ravedude'
pkgs.pkgsCross.avr.buildPackages.gcc
ravedude
pkgsCross.avr.buildPackages.gcc

# koishi firmware in-simulator tests
clang
libelf
simavr
zlib

# koishi telemetry receiver demo
Expand Down
Loading

0 comments on commit c768402

Please sign in to comment.