ci(nix): use explicit versions for clang and gcc (#1969)

pull/1964/head
Pavol Rusnak 3 years ago committed by GitHub
parent 91dd21b561
commit 8428456df6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save