Skip to content

Commit

Permalink
Update nix channel to 24.05 (#45)
Browse files Browse the repository at this point in the history
* update to nix 24.05

Signed-off-by: Thing-han, Lim <[email protected]>

* use astyle 3.4.13 instead

astyle > 3.4.13 will result in some weird format

Signed-off-by: Thing-han, Lim <[email protected]>

---------

Signed-off-by: Thing-han, Lim <[email protected]>
  • Loading branch information
potsrevennil authored Jun 12, 2024
1 parent c921ed6 commit e1ab38d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
14 changes: 7 additions & 7 deletions flake.lock

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

15 changes: 11 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
description = "mlkem-c-embedded";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";

flake-parts = {
url = "github:hercules-ci/flake-parts";
Expand All @@ -24,24 +24,31 @@
mbed-os = pkgs.callPackage ./mbed-os.nix {
targets = [ "TARGET_MPS2_M3" "TARGET_MPS2_M4" "TARGET_MPS2_M7" ];
};
astyle = pkgs.astyle.overrideAttrs (old: rec {
version = "3.4.13";
src = pkgs.fetchurl {
url = "mirror://sourceforge/${old.pname}/${old.pname}-${version}.tar.bz2";
hash = "sha256-eKYQq9OelOD5E+nuXNoehbtizWM1U97LngDT2SAQGc4=";
};
});
core = builtins.attrValues {
libopencm3 = libopencm3;
mbed-os = mbed-os;
astyle = astyle;

inherit (pkgs)
# formatter & linters
nixpkgs-fmt
shfmt
astyle# 3.4.10

# build dependencies
gcc-arm-embedded-13# arm-gnu-toolchain-13.2.rel1
python311
qemu# 8.1.5
qemu# 8.2.4

yq;

inherit (pkgs.python311Packages)
python
black
pyserial# 3.5
click;
Expand Down

0 comments on commit e1ab38d

Please sign in to comment.