[GHC] #16101: Write a nix expression to enter a shell with specified build artifact

GHC ghc-devs at haskell.org
Fri Dec 28 01:31:47 UTC 2018


#16101: Write a nix expression to enter a shell with specified build artifact
-------------------------------------+-------------------------------------
           Reporter:  mpickering     |             Owner:  (none)
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.6.3
           Keywords:  newcomer       |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 It should be quite straightforward to write a nix expression which is
 parameterised by a CI job which downloads the artifact and enters into a
 nix shell which provisions that version of GHC.

 To be precise, consider the recent job:
 https://gitlab.haskell.org/ghc/ghc/-/jobs/6427.

 It built these artifacts:
 https://gitlab.haskell.org/ghc/ghc/-/jobs/6427/artifacts/browse

 We should download the bindist and patch it suitably so it works like a
 normal GHC release.

 Some inspiration can probably be drawn from the scripts that Ben wrote for
 the head.hackage repo:
 https://github.com/hvr/head.hackage/blob/master/default.nix

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16101>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list