futhark: introduce the top-level futhark attribute

The fact that futhark is a Haskell package is an implementation detail. To
install it users should just have to specify `futhark` instead of
`haskellPackages.futhark`.

Additionally futhark is overridden with `haskell.lib.justStaticExecutables` to
reduce closure size.
This commit is contained in:
Bas van Dijk
2018-10-12 14:12:29 +02:00
committed by Silvan Mosberger
parent d26c303bef
commit 0c25079958
6 changed files with 96 additions and 78 deletions
@@ -707,6 +707,7 @@ self: super: {
# vaultenv is not available from Hackage.
vaultenv = self.callPackage ../tools/haskell/vaultenv { };
# futhark is not available from Hackage.
futhark = self.callPackage ../compilers/futhark { };
# https://github.com/Philonous/hs-stun/pull/1