aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Salomonsson <plattfot@posteo.net>2021-01-31 15:30:18 -0800
committerFredrik Salomonsson <plattfot@posteo.net>2021-01-31 16:56:15 -0800
commitb3a3997d4c790ea0e9db0dcaa25e3b29be054039 (patch)
treeb31d8b01ad293c0d5ee3be6952ded4d01104edcf
parentb595629b1cccdc945d372d74f5abc05750e4fe24 (diff)
downloadpinentry-rofi-b3a3997d4c790ea0e9db0dcaa25e3b29be054039.tar.gz
Skip build directory for guix.scm
-rw-r--r--guix.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/guix.scm b/guix.scm
index c4f4cba..14016f0 100644
--- a/guix.scm
+++ b/guix.scm
@@ -21,9 +21,10 @@
(define %git-commit
(read-string (open-pipe "git show HEAD | head -1 | cut -d ' ' -f2" OPEN_READ)))
-(define (skip-git-directory file stat)
- "Skip the `.git` directory when collecting the source."
- (not (string=? (basename file) ".git")))
+(define (skip-git-and-build-directory file stat)
+ "Skip the `.git` and `build` directory when collecting the sources."
+ (let ((name (basename file)))
+ (not (or (string=? name ".git") (string=? name "build")))))
(define-public pinentry-rofi
(package
@@ -76,6 +77,7 @@ the Rofi application launcher as the user interface. Which makes it combined
with @code{rofi-pass} a good front end for @code{password-store}.")
(home-page "https://github.com/plattfot/pinentry-rofi/")
(license license:gpl3+)))
+
(package
(inherit pinentry-rofi)
(name "pinentry-rofi-git")