<div dir="ltr">Beautiful. Thanks for sharing</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 16, 2019 at 9:34 AM Matthew Pickering <<a href="mailto:matthewtpickering@gmail.com">matthewtpickering@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
I have written a devastating new script which makes it easy to test<br>
snippets and packages with build artefacts built by the gitlab CI. One<br>
invocation of `nix-shell` will enter an environment with the most<br>
recent build artefact from master.<br>
<br>
Usage:<br>
<br>
```<br>
> nix-shell <a href="https://github.com/mpickering/ghc-artefact-nix/archive/master.tar.gz" rel="noreferrer" target="_blank">https://github.com/mpickering/ghc-artefact-nix/archive/master.tar.gz</a><br>
unpacking '<a href="https://github.com/mpickering/ghc-artefact-nix/archive/master.tar.gz'." rel="noreferrer" target="_blank">https://github.com/mpickering/ghc-artefact-nix/archive/master.tar.gz'.</a>..<br>
<lots more output><br>
> ghc --version<br>
The Glorious Glasgow Haskell Compilation System, version 8.7.20190115<br>
```<br>
<br>
Repo: <a href="https://github.com/mpickering/ghc-artefact-nix" rel="noreferrer" target="_blank">https://github.com/mpickering/ghc-artefact-nix</a><br>
<br>
So far we have tested it works on NixOS and darwin but support for<br>
other platforms that nix supports and we build artefacts for should be<br>
easy. It might already work on i386 and aarch64 as well but I didn't<br>
test these.<br>
<br>
Cheers,<br>
<br>
Matt<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div>