diff options
author | Fredrik Salomonsson <plattfot@posteo.net> | 2021-01-31 15:30:18 -0800 |
---|---|---|
committer | Fredrik Salomonsson <plattfot@posteo.net> | 2021-01-31 16:56:15 -0800 |
commit | b3a3997d4c790ea0e9db0dcaa25e3b29be054039 (patch) | |
tree | b31d8b01ad293c0d5ee3be6952ded4d01104edcf | |
parent | b595629b1cccdc945d372d74f5abc05750e4fe24 (diff) | |
download | pinentry-rofi-b3a3997d4c790ea0e9db0dcaa25e3b29be054039.tar.gz |
Skip build directory for guix.scm
-rw-r--r-- | guix.scm | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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") |