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

ci: use same pinned nixpkgs for hardware tests

This commit is contained in:
Martin Milata 2021-01-22 13:45:49 +01:00
parent 41bf9201b5
commit 4adbb4e8e1
3 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,4 @@
with import <nixpkgs> {}; with import ../nixpkgs.nix;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "trezor-firmware-hardware-tests"; name = "trezor-firmware-hardware-tests";

5
ci/nixpkgs.nix Normal file
View File

@ -0,0 +1,5 @@
# the last successful build of nixpkgs-unstable as of 2020-12-30
import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/bea44d5ebe332260aa34a1bd48250b6364527356.tar.gz";
sha256 = "14sfk04iyvyh3jl1s2wayw1y077dwpk2d712nhjk1wwfjkdq03r3";
}) { }

View File

@ -1,13 +1,6 @@
{ fullDeps ? false }: { fullDeps ? false }:
# the last successful build of nixpkgs-unstable as of 2020-12-30 with import ./nixpkgs.nix;
with import
(builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/bea44d5ebe332260aa34a1bd48250b6364527356.tar.gz";
sha256 = "14sfk04iyvyh3jl1s2wayw1y077dwpk2d712nhjk1wwfjkdq03r3";
})
{ };
let let
moneroTests = fetchurl { moneroTests = fetchurl {
url = "https://github.com/ph4r05/monero/releases/download/v0.17.1.9-tests/trezor_tests"; url = "https://github.com/ph4r05/monero/releases/download/v0.17.1.9-tests/trezor_tests";