summaryrefslogtreecommitdiff
path: root/guix/packages.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-03-30 14:59:26 +0100
committerLudovic Courtès <ludo@gnu.org>2019-03-30 15:19:32 +0100
commita7646bc5e17a829d23519d0b199a576fb1edbd04 (patch)
treece6bf646fa4fad19b91bdd1bc418e4db40b37378 /guix/packages.scm
parent329c3c323e32f3f97c452ee4455934fe57a18ff0 (diff)
downloadpatches-a7646bc5e17a829d23519d0b199a576fb1edbd04.tar
patches-a7646bc5e17a829d23519d0b199a576fb1edbd04.tar.gz
packages: Remove 'self-native-input?' field.
This field has become unnecessary with the addition of 'this-package'. * guix/packages.scm (<package>)[self-native-input?]: Remove. (package->bag): Adjust accordingly. * doc/guix.texi (package Reference): Remove 'self-native-input?'.
Diffstat (limited to 'guix/packages.scm')
-rw-r--r--guix/packages.scm11
1 files changed, 2 insertions, 9 deletions
diff --git a/guix/packages.scm b/guix/packages.scm
index b402637508..1d3d99ba65 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -264,9 +264,6 @@ name of its URI."
(default '()) (thunked))
(native-inputs package-native-inputs ; native input packages/derivations
(default '()) (thunked))
- (self-native-input? package-self-native-input? ; whether to use itself as
- ; a native input when cross-
- (default #f)) ; compiling
(outputs package-outputs ; list of strings
(default '("out")))
@@ -1032,7 +1029,7 @@ and return it."
((and self
($ <package> name version source build-system
args inputs propagated-inputs native-inputs
- self-native-input? outputs))
+ outputs))
;; Even though we prefer to use "@" to separate the package
;; name from the package version in various user-facing parts
;; of Guix, checkStoreName (in nix/libstore/store-api.cc)
@@ -1044,11 +1041,7 @@ and return it."
#:inputs (append (inputs self)
(propagated-inputs self))
#:outputs outputs
- #:native-inputs `(,@(if (and target
- self-native-input?)
- `(("self" ,self))
- '())
- ,@(native-inputs self))
+ #:native-inputs (native-inputs self)
#:arguments (args self))
(raise (if target
(condition