mirror of
https://github.com/eza-community/eza
synced 2024-10-14 20:03:50 +00:00
test(flake): refactor setting unix epoch
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
cf15877c2b
commit
4dc4689bb7
|
@ -119,7 +119,7 @@
|
|||
# buildPhase files differ between dep and main phase
|
||||
singleStep = true;
|
||||
# set itests files creation date to unix epoch
|
||||
buildPhase = ''cd tests/itest; touch --date=@0 *'';
|
||||
buildPhase = ''touch --date=@0 tests/itest/*'';
|
||||
cargoTestOptions = opts: opts ++ [ "--features nix" ];
|
||||
inherit buildInputs;
|
||||
};
|
||||
|
@ -134,7 +134,7 @@
|
|||
# buildPhase files differ between dep and main phase
|
||||
singleStep = true;
|
||||
# set itests files creation date to unix epoch
|
||||
buildPhase = ''cd tests/itest; touch --date=@0 *'';
|
||||
buildPhase = ''touch --date=@0 tests/itest/*'';
|
||||
cargoTestOptions = opts: opts ++ [ "--features nix" ];
|
||||
TRYCMD="dump";
|
||||
postInstall = ''
|
||||
|
|
Loading…
Reference in a new issue