Ignore .gitignore when making minimal git repo (#1198)
Files in the git repo may also be in `.gitignore`. We still need these files in our minimal version of the repo.
This fixes #1195
commit20297c67255b19edf23cc2f9507981f3459d466f
authorHamish Mackenzie <Hamish.Mackenzie@iohk.io>
dateWed 11 Aug 2021, 16:33 (5 years ago)
parentf696ceb
lib/call-cabal-project-to-nix.nix+1−1
@@ -195,7 +195,7 @@ let
195195 cd $out
196196 chmod -R +w .
197197 git init -b minimal
198− git add .
198+ git add --force .
199199 GIT_COMMITTER_NAME='No One' GIT_COMMITTER_EMAIL= git commit -m "Minimal Repo For Haskell.Nix" --author 'No One <>'
200200 '';
201201 inherit (repoData) subdirs;