Skip to content

Commit

Permalink
Update flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
StarGate01 committed Jun 23, 2022
1 parent 2886938 commit df2a2c3
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 9 deletions.
31 changes: 24 additions & 7 deletions flake.lock

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

12 changes: 10 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
nixpkgs-fontconv.url = "github:jvanbruegge/nixpkgs/lv_font_conv";
nixpkgs-pyanrfutil.url = "github:StarGate01/nixpkgs/pyanrfutil";
nixpkgs-pyanrfutil.url = "github:StarGate01/nixpkgs/pyanrfutil-fix";
nixpkgs-nrf.url = "github:StarGate01/nixpkgs/nrf-command-line-tools";
};

outputs = { self, nixpkgs, nixpkgs-fontconv, nixpkgs-pyanrfutil }:
outputs = { self, nixpkgs, nixpkgs-fontconv, nixpkgs-pyanrfutil, nixpkgs-nrf }:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
pkgs-fontconv = nixpkgs-fontconv.legacyPackages.x86_64-linux;
pkgs-pyanrfutil = nixpkgs-pyanrfutil.legacyPackages.x86_64-linux;
pkgs-nrf = import nixpkgs-nrf {
system = "x86_64-linux";
config.allowUnfree = true;
config.segger-jlink.acceptLicense = true;
};
in
{
devShell.x86_64-linux =
Expand All @@ -24,6 +30,8 @@
pkgs-fontconv.nodePackages.lv_font_conv
mynewt-newt
cmake
openocd
pkgs-nrf.nrf-command-line-tools
(python3.withPackages (ps: with ps; [
cbor
click
Expand Down

0 comments on commit df2a2c3

Please sign in to comment.