diff options
Diffstat (limited to 'gnu/packages/databases.scm')
| -rw-r--r-- | gnu/packages/databases.scm | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 3420665b062..4b8f7deb6e2 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm | |||
| @@ -1098,18 +1098,9 @@ auto-completion and syntax highlighting.") | |||
| 1098 | (sha256 | 1098 | (sha256 |
| 1099 | (base32 | 1099 | (base32 |
| 1100 | "0v9hc8yzp0f5pwl4kr1a8k7lwyf62g95klxb6avfrc2npjx79dbl")) | 1100 | "0v9hc8yzp0f5pwl4kr1a8k7lwyf62g95klxb6avfrc2npjx79dbl")) |
| 1101 | (modules '((guix build utils) | 1101 | (modules '((guix build utils))) |
| 1102 | (ice-9 ftw) | ||
| 1103 | (srfi srfi-26))) | ||
| 1104 | (snippet | 1102 | (snippet |
| 1105 | #~(begin | 1103 | #~(begin |
| 1106 | (define (delete-all-but directory . preserve) | ||
| 1107 | (with-directory-excursion directory | ||
| 1108 | (let* ((pred (negate (cut member <> | ||
| 1109 | (cons* "." ".." preserve)))) | ||
| 1110 | (items (scandir "." pred))) | ||
| 1111 | (for-each (cut delete-file-recursively <>) items)))) | ||
| 1112 | |||
| 1113 | ;; Delete bundled source libraries. | 1104 | ;; Delete bundled source libraries. |
| 1114 | (delete-all-but "extra" | 1105 | (delete-all-but "extra" |
| 1115 | ;; XXX: The build system doesn't currently | 1106 | ;; XXX: The build system doesn't currently |
