aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--km-packages/git-annex.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/km-packages/git-annex.scm b/km-packages/git-annex.scm
index cc298aa..416e7e9 100644
--- a/km-packages/git-annex.scm
+++ b/km-packages/git-annex.scm
@@ -96,7 +96,12 @@ full-featured binding.")
;; Otherwise get write error because is read-only.
(delete-file "Setup.hs")
#t))
- (delete 'check))))))
+ (delete 'check)
+ (add-before 'unpatch-shell-and-rebuild 'delete-shell
+ (lambda _
+ ;; Avoid permission error when copying file.
+ (delete-file "Utility/Shell.hs")
+ #t)))))))
(inputs `(("ghc-magic" ,ghc-magic)
,@(package-inputs git-annex))))))