haskell: have a dedicated file for non Hackage packages

We had a few "overrides" in configuration-common.nix that were really
extensions. They introduced packages that weren't in hackage-packages.nix.

The advantage of having a dedicated file for these packages is that we can still
place Nix-specific overrides to these packages in configuration-nix.nix. We
weren't able do this before because configuration-nix.nix extended only the
packages from hackage-packages.nix.
This commit is contained in:
Bas van Dijk
2018-10-12 14:12:29 +02:00
committed by Silvan Mosberger
parent 0c25079958
commit 7b49b870cb
3 changed files with 18 additions and 10 deletions
@@ -0,0 +1,14 @@
# EXTRA HASKELL PACKAGES NOT ON HACKAGE
#
# This file should only contain packages that are not in ./hackage-packages.nix.
# Attributes in this set should be nothing more than a callPackage call.
# Overrides to these packages should go to either configuration-nix.nix,
# configuration-common.nix or to one of the compiler specific configuration
# files.
self: super: {
multi-ghc-travis = self.callPackage ../tools/haskell/multi-ghc-travis { };
vaultenv = self.callPackage ../tools/haskell/vaultenv { };
futhark = self.callPackage ../compilers/futhark { };
}