GNU bug report logs -
#32809
[PATCH 0/1] import: hackage: Do not repeat inputs in native-inputs.
Previous Next
Reported by: Arun Isaac <arunisaac <at> systemreboot.net>
Date: Sat, 22 Sep 2018 17:20:01 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 32809 <at> debbugs.gnu.org (full text, mbox):
Hi Arun,
>>> * guix/import/hackage.scm (hackage-module->sexp): Do not repeat inputs again
>>> in native-inputs. native-inputs should only contain packages that are not
>>> already listed in inputs.
>>
>> Aha? When cross-compiling, will guix provide all the tools natively that are
>> listed in inputs? (rather than just the ones in native-inputs)
>
> That's a good question. I did not think of it, and I don't know the
> answer. Whenever I have packaged any package (Haskell packages,
> included) for Guix, I have taken care to not repeat the inputs in the
> native-inputs. Now that you mention this, I don't know if that was the
> right thing to do. WDYT?
Currently, the haskell-build-system says this about cross-building
packages:
XXX: no cross-compilation
Until we have patches to add proper cross-compilation support to the
Haskell build system, I’d prefer to let the importer only keep packages
that are not already listed in the inputs.
This is probably the right thing to do. It may even be correct to have
all Haskell *libraries* among the regular inputs and only test *tools*
be build-host native.
The Cabal format does not differ between these cases. It only supports
specifications of different build targets with arbitrary names and
usually with full lists of dependencies, even if the dependencies might
be duplicates of those used for other build targets.
In short: the patch looks good to me.
Thanks!
--
Ricardo
This bug report was last modified 6 years and 258 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.