From mboxrd@z Thu Jan 1 00:00:00 1970 From: Taylan Ulrich Kammer Subject: Re: [PATCH] Add guile-emacs! Date: Thu, 14 May 2015 22:06:33 +0200 Message-ID: <87siayhqk6.fsf@gmail.com> References: <87r3qo5idm.fsf@earlgrey.lan> <873830f2m0.fsf@earlgrey.lan> <87wq0bh70o.fsf@gmail.com> <87vbfvdugp.fsf@earlgrey.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YszOu-0008U5-RD for guix-devel@gnu.org; Thu, 14 May 2015 16:06:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YszOt-0002lz-RC for guix-devel@gnu.org; Thu, 14 May 2015 16:06:36 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:33923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YszOt-0002lX-Kh for guix-devel@gnu.org; Thu, 14 May 2015 16:06:35 -0400 Received: by wicmc15 with SMTP id mc15so22986274wic.1 for ; Thu, 14 May 2015 13:06:35 -0700 (PDT) In-Reply-To: <87vbfvdugp.fsf@earlgrey.lan> (Christopher Allan Webber's message of "Thu, 14 May 2015 10:53:43 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Christopher Allan Webber Cc: Guix-devel Christopher Allan Webber writes: >>> +(define-public guile-for-guile-emacs >>> [...] >>> + (inputs >>> + `(("gettext" ,gnu-gettext) >> >> Sure it shouldn't be in native-inputs? I'm guessing autogen uses it. > > So, could someone describe the difference between inputs and > native-inputs? The manual provides no clarity! I never know where it > goes and why... I just mime what other packages are doing. Perhaps a bug report should be opened about the absence of documentation on native and propagated inputs... When an input is in native-inputs instead of inputs, then it is ensured during cross-compilation that the version present during the build of the package will be for the platform on which the build is happening; this is necessary if executables from the input will be run during the build, such as the autotools suite, bash, gcc, etc. (The latter are implicit native inputs of the gnu-build-system AFAIK.) Gettext will probably be run on the source code to extract localizable strings; if so then it should be a native input. If it were just a shared library like libpng, or a program that will be used during use of the package (such as the 'git' input to 'magit'), then it needn't be a native input since no executables from it will be run during the build and it doesn't matter if it's for another platform. Hope that helps! Taylan