diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-05-31 15:46:17 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-06-11 17:54:30 +0200 |
commit | 21a21c20da9e069122b7c90366cb33fa859e17a9 (patch) | |
tree | 096cd656e168ce133f3474a5d5361638e941ad4a /gnu | |
parent | 4ee30d6aa287e82e1bfa96ae3931d1b8d0d33076 (diff) | |
download | guix-21a21c20da9e069122b7c90366cb33fa859e17a9.tar.gz guix-21a21c20da9e069122b7c90366cb33fa859e17a9.zip |
gnu: ldb: Delete bundled libraries from the source.
* gnu/packages/samba.scm (ldb)[source](snippet): New field.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/samba.scm | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm index 32e37a5bb2..abbfdd83c4 100644 --- a/gnu/packages/samba.scm +++ b/gnu/packages/samba.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adfeno@openmailbox.org> ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be> -;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com> +;;; Copyright © 2017, 2018 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; ;;; This file is part of GNU Guix. @@ -349,7 +349,17 @@ many event types, including timers, signals, and the classic file descriptor eve version ".tar.gz")) (sha256 (base32 - "1d591ny4j4s409s2afjv4fn7inqlclr0zlyclw3619rkbaixlzm8")))) + "1d591ny4j4s409s2afjv4fn7inqlclr0zlyclw3619rkbaixlzm8")) + (modules '((guix build utils))) + (snippet + '(begin + (for-each (lambda (file) + ;; Delete everything except the build tools. + (unless (or (string-prefix? "third_party/waf" file) + (string-suffix? "wscript" file)) + (delete-file file))) + (find-files "third_party")) + #t)))) (build-system gnu-build-system) (arguments '(#:phases |