about summary refs log tree commit diff
path: root/pkgs/development/compilers/flutter
diff options
context:
space:
mode:
authorhacker1024 <hacker1024@users.sourceforge.net>2023-10-23 02:37:41 +1100
committerMaciej Krüger <mkg20001@gmail.com>2023-12-21 11:44:10 +0100
commitec0c30d6d7b651ebe0546a68e8904ffafba7ef3e (patch)
treee079cefc84870e71d6b83288395bfa6847d94ecb /pkgs/development/compilers/flutter
parent075bbf494b4f3794aa4f942c316636384c333389 (diff)
downloadnixlib-ec0c30d6d7b651ebe0546a68e8904ffafba7ef3e.tar
nixlib-ec0c30d6d7b651ebe0546a68e8904ffafba7ef3e.tar.gz
nixlib-ec0c30d6d7b651ebe0546a68e8904ffafba7ef3e.tar.bz2
nixlib-ec0c30d6d7b651ebe0546a68e8904ffafba7ef3e.tar.lz
nixlib-ec0c30d6d7b651ebe0546a68e8904ffafba7ef3e.tar.xz
nixlib-ec0c30d6d7b651ebe0546a68e8904ffafba7ef3e.tar.zst
nixlib-ec0c30d6d7b651ebe0546a68e8904ffafba7ef3e.zip
flutter: Specify commit date for fake SDK repository
Diffstat (limited to 'pkgs/development/compilers/flutter')
-rw-r--r--pkgs/development/compilers/flutter/flutter.nix4
1 files changed, 3 insertions, 1 deletions
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