From ec0c30d6d7b651ebe0546a68e8904ffafba7ef3e Mon Sep 17 00:00:00 2001 From: hacker1024 Date: Mon, 23 Oct 2023 02:37:41 +1100 Subject: [PATCH] flutter: Specify commit date for fake SDK repository --- pkgs/development/compilers/flutter/flutter.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/flutter/flutter.nix b/pkgs/development/compilers/flutter/flutter.nix index a02c9bb8d114..1f732f81476a 100644 --- a/pkgs/development/compilers/flutter/flutter.nix +++ b/pkgs/development/compilers/flutter/flutter.nix @@ -49,7 +49,9 @@ let # expected to fail completely. A blank repository needs to be created. if [ ! -d .git ]; then git init -b nixpkgs - GIT_AUTHOR_NAME=Nixpkgs GIT_COMMITTER_NAME=Nixpkgs GIT_AUTHOR_EMAIL= GIT_COMMITTER_EMAIL= \ + GIT_AUTHOR_NAME=Nixpkgs GIT_COMMITTER_NAME=Nixpkgs \ + GIT_AUTHOR_EMAIL= GIT_COMMITTER_EMAIL= \ + GIT_AUTHOR_DATE='1/1/1970 00:00:00 +0000' GIT_COMMITTER_DATE='1/1/1970 00:00:00 +0000' \ git commit --allow-empty -m "Initial commit" (. '${../../../build-support/fetchgit/deterministic-git}'; make_deterministic_repo .) fi