GNU bug report logs -
#36493
update GHC-included haskell dependencies
Previous Next
Reported by: Robert Vollmert <rob <at> vllmrt.net>
Date: Thu, 4 Jul 2019 07:57:02 UTC
Severity: normal
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Robert,
> Could we do something in guix like what nixpkgs does, where the dependencies
> are encoded, but then “nulled” depending on the compiler version?
>
> https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix#L10
Yes, we could do this in the haskell-build-system (automatically
removing inputs before the build is set up). My first reaction was
“this is inelegant”, but it does have some advantages: we could rebuild
packages with other versions of GHC more easily and it would just work
without having to adjust the inputs manually.
I think this would be done in guix/build-system/haskell.scm, the
“haskell-build” procedure. There we pass all inputs unchanged through
to build-expression->derivation. I guess we could filter inputs right
there.
--
Ricardo
This bug report was last modified 5 years and 319 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.