diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-03-30 14:34:40 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-03-30 15:19:32 +0100 |
commit | 528ea990c3a815cb4b0ded913ea22cdc778839bd (patch) | |
tree | 5803e0a9b9f6a1a384b5bb306a0899f13dc7e65e /gnu/packages/python-xyz.scm | |
parent | 398747f8f11dc011799da1c2384aa201488a4595 (diff) | |
download | guix-528ea990c3a815cb4b0ded913ea22cdc778839bd.tar.gz |
gnu: Use 'this-package' as a native input instead of 'self-native-input?'.
* gnu/packages/file.scm (file)[self-native-input?]: Remove. [native-inputs]: New field. * gnu/packages/guile.scm (guile-1.8)[self-native-input?]: Remove. [native-inputs]: New field. (guile-2.0)[self-native-input?]: Remove. [native-inputs]: Add THIS-PACKAGE when (%current-target-system) is true. * gnu/packages/ncurses.scm (ncurses)[self-native-input?]: Remove. [native-inputs]: Add THIS-PACKAGE when (%current-target-system) is true. * gnu/packages/python-xyz.scm (python-file)[self-native-input?]: Remove. [native-inputs]: New field.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f392b52235..03a83022a1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6875,7 +6875,9 @@ Python's @code{ctypes} foreign function interface (FFI).") (string-append "'" file "/lib/libmagic.so'"))) #t)))))) (inputs `(("file" ,file))) - (self-native-input? #f) + (native-inputs (if (%current-target-system) + `(("self" ,this-package)) + '())) (synopsis "Python bindings to the libmagic file type guesser. Note that this module and the python-magic module both provide a \"magic.py\" file; these two modules, which are different and were developed separately, both |