summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2018-08-20 22:14:32 +0200
committerSilvan Mosberger <infinisil@icloud.com>2018-10-12 14:12:29 +0200
commit0c25079958ac46f7438d2a90e837acf7c69a2ab9 (patch)
treec1c5867d23bd33ce8fe8604ac9aceda04e08e37b /pkgs/development/haskell-modules/configuration-common.nix
parentd26c303bef670e33d7211b6c053fdb04983c7692 (diff)
downloadnixlib-0c25079958ac46f7438d2a90e837acf7c69a2ab9.tar
nixlib-0c25079958ac46f7438d2a90e837acf7c69a2ab9.tar.gz
nixlib-0c25079958ac46f7438d2a90e837acf7c69a2ab9.tar.bz2
nixlib-0c25079958ac46f7438d2a90e837acf7c69a2ab9.tar.lz
nixlib-0c25079958ac46f7438d2a90e837acf7c69a2ab9.tar.xz
nixlib-0c25079958ac46f7438d2a90e837acf7c69a2ab9.tar.zst
nixlib-0c25079958ac46f7438d2a90e837acf7c69a2ab9.zip
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.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 447e9cb42272..46e104e34724 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -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