From 6d8087083278b078d0db6238fb16929163388acd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 22 Dec 2017 11:33:34 +0100 Subject: release.nix: Use fetchTarball and fetchGit In particular, using fetchGit means we don't need hackery to clean the source tree when building from an unclean tree. --- local.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'local.mk') diff --git a/local.mk b/local.mk index 0a225423741d..40a910991a48 100644 --- a/local.mk +++ b/local.mk @@ -1,6 +1,5 @@ ifeq ($(MAKECMDGOALS), dist) - # Make sure we are in repo root with `--git-dir` - dist-files += $(shell git --git-dir=.git ls-files || find * -type f) + dist-files += $(shell cat .dist-files) endif dist-files += configure config.h.in nix.spec perl/configure -- cgit 1.4.1