Skip to content

Commit

Permalink
Fix missing app
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Nov 18, 2024
1 parent 6a8add2 commit a47abd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
type = "app";
program = builtins.toString (
pkgs.writers.writeNu "flash-avrdude" ''
${pkgs.lib.getExe pkgs.avrdude} -c USBtiny -B 4 -p attiny85 -U flash:w:${
^${pkgs.lib.getExe pkgs.avrdude} -c USBtiny -B 4 -p attiny85 -U flash:w:${
self.packages.${system}.pwm-fan-controller-attiny85
}/bin/pwm-fan-controller-attiny85.hex:i
''
Expand Down Expand Up @@ -225,7 +225,7 @@
type = "app";
program = builtins.toString (
pkgs.writers.writeNu "flash-elf2uf2-rs" ''
${pkgs.lib.getExe pkgs.elf2uf2-rs} --deploy ${
^${pkgs.lib.getExe pkgs.elf2uf2-rs} --deploy ${
self.packages.${system}.pwm-fan-controller-pico
}/bin/pwm-fan-controller-pico
''
Expand Down Expand Up @@ -297,7 +297,7 @@
type = "app";
program = builtins.toString (
pkgs.writers.writeNu "flash-wchisp" ''
${pkgs.lib.getExe pkgs.wchisp} flash ${
^${pkgs.lib.getExe pkgs.wchisp} flash ${
self.packages.${system}.pwm-fan-controller-qt-py-ch32v203
}/bin/pwm-fan-controller-qt-py-ch32v203
''
Expand Down Expand Up @@ -327,7 +327,7 @@
in
{
apps = pkgs.lib.attrsets.genAttrs (builtins.attrNames boards) (board: boards.${board}.apps) // {
inherit (nix-update-scripts.apps.${system}) update-nix-direnv;
inherit (nix-update-scripts.apps.${system}) update-nix-direnv update-nixos-release;
default = self.apps.${system}.${defaultBoard}.flash;
};
checks = {
Expand Down
2 changes: 1 addition & 1 deletion pre-commit-hooks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
editorconfig-checker.enable = true;
end-of-file-fixer.enable = true;
fix-byte-order-marker.enable = true;
flake-checker.enable = true;
# flake-checker.enable = true;
forbid-new-submodules.enable = true;
# todo Enable lychee when asciidoc is supported.
# See https://github.com/lycheeverse/lychee/issues/291
Expand Down

0 comments on commit a47abd4

Please sign in to comment.