1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 23:08:14 +00:00

ci: fix date epoch in shell.nix not in Gitlab yml file

This way we fix also local environments for devs with NixOS.
Updates 988c7f65af.
This commit is contained in:
Tomas Susanka 2020-09-30 09:28:20 +02:00
parent 988c7f65af
commit 225966ea7c
2 changed files with 3 additions and 3 deletions

View File

@ -21,9 +21,6 @@ variables:
PIPENV_VENV_IN_PROJECT: "true"
PIPENV_CACHE_DIR: ".cache/"
# Fix bdist-wheel problem in NixOS by setting source date epoch to a more recent date
SOURCE_DATE_EPOCH: 1600000000
# No need for TLS because everything runs on the same machine
DOCKER_TLS_CERTDIR: ""
stages:

View File

@ -44,4 +44,7 @@ stdenv.mkDerivation {
];
LD_LIBRARY_PATH = "${libffi}/lib:${libjpeg.out}/lib:${libusb1}/lib:${libressl.out}/lib";
NIX_ENFORCE_PURITY = 0;
# Fix bdist-wheel problem by setting source date epoch to a more recent date
SOURCE_DATE_EPOCH = 1600000000;
}