1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +00:00

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

This commit is contained in:
Pavol Rusnak 2021-12-03 12:49:08 +01:00 committed by GitHub
parent 91dd21b561
commit 8428456df6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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