1
0
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:
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:
extensions = [ "clippy" ];
};
gcc = nixpkgs.gcc11;
llvmPackages = nixpkgs.llvmPackages_12;
in
with nixpkgs;
stdenv.mkDerivation ({
stdenvNoCC.mkDerivation ({
name = "trezor-firmware-env";
buildInputs = lib.optionals fullDeps [
# install other python versions for tox testing
@ -55,8 +57,7 @@ stdenv.mkDerivation ({
autoflake
bash
check
clang-tools
clang
llvmPackages.clang
editorconfig-checker
gcc
git