flake: update to LLVM 14

This commit is contained in:
Sebastien Bourdeauducq 2023-08-07 23:26:58 +08:00
parent ff03bf92a3
commit de42a5d1b2

View File

@ -221,7 +221,7 @@
) ./.; ) ./.;
cargoLock = { lockFile = ./Cargo.lock; }; cargoLock = { lockFile = ./Cargo.lock; };
nativeBuildInputs = [ cargo-xbuild pkgs.llvmPackages_9.clang-unwrapped ]; nativeBuildInputs = [ cargo-xbuild pkgs.llvmPackages_14.clang-unwrapped ];
buildPhase = '' buildPhase = ''
export XARGO_RUST_SRC="${rust}/lib/rustlib/src/rust/library" export XARGO_RUST_SRC="${rust}/lib/rustlib/src/rust/library"
export CARGO_HOME=$(mktemp -d cargo-home.XXX) export CARGO_HOME=$(mktemp -d cargo-home.XXX)
@ -276,7 +276,7 @@
openocd gdb openocd gdb
openssh rsync openssh rsync
llvmPackages_9.clang-unwrapped llvmPackages_14.clang-unwrapped
(python3.withPackages(ps: [ ps.pyftdi ])) (python3.withPackages(ps: [ ps.pyftdi ]))
mkbootimage ]; mkbootimage ];
}; };