mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
ci(nix): use explicit versions for clang and gcc (#1969)
This commit is contained in:
parent
91dd21b561
commit
8428456df6
@ -37,9 +37,11 @@ let
|
|||||||
# to use official binary, remove rustfmt from buildInputs and add it to extensions:
|
# to use official binary, remove rustfmt from buildInputs and add it to extensions:
|
||||||
extensions = [ "clippy" ];
|
extensions = [ "clippy" ];
|
||||||
};
|
};
|
||||||
|
gcc = nixpkgs.gcc11;
|
||||||
|
llvmPackages = nixpkgs.llvmPackages_12;
|
||||||
in
|
in
|
||||||
with nixpkgs;
|
with nixpkgs;
|
||||||
stdenv.mkDerivation ({
|
stdenvNoCC.mkDerivation ({
|
||||||
name = "trezor-firmware-env";
|
name = "trezor-firmware-env";
|
||||||
buildInputs = lib.optionals fullDeps [
|
buildInputs = lib.optionals fullDeps [
|
||||||
# install other python versions for tox testing
|
# install other python versions for tox testing
|
||||||
@ -55,8 +57,7 @@ stdenv.mkDerivation ({
|
|||||||
autoflake
|
autoflake
|
||||||
bash
|
bash
|
||||||
check
|
check
|
||||||
clang-tools
|
llvmPackages.clang
|
||||||
clang
|
|
||||||
editorconfig-checker
|
editorconfig-checker
|
||||||
gcc
|
gcc
|
||||||
git
|
git
|
||||||
|
Loading…
Reference in New Issue
Block a user