diff options
author | Bas van Dijk <v.dijk.bas@gmail.com> | 2018-08-25 15:24:41 +0200 |
---|---|---|
committer | Silvan Mosberger <infinisil@icloud.com> | 2018-10-12 14:12:29 +0200 |
commit | 7b49b870cb2326b998e90818a22055fd6e52959d (patch) | |
tree | 3f9d4f7c4b29db9f5c7fedab6f5e798d88bc2834 /pkgs/development/haskell-modules/non-hackage-packages.nix | |
parent | 0c25079958ac46f7438d2a90e837acf7c69a2ab9 (diff) | |
download | nixlib-7b49b870cb2326b998e90818a22055fd6e52959d.tar nixlib-7b49b870cb2326b998e90818a22055fd6e52959d.tar.gz nixlib-7b49b870cb2326b998e90818a22055fd6e52959d.tar.bz2 nixlib-7b49b870cb2326b998e90818a22055fd6e52959d.tar.lz nixlib-7b49b870cb2326b998e90818a22055fd6e52959d.tar.xz nixlib-7b49b870cb2326b998e90818a22055fd6e52959d.tar.zst nixlib-7b49b870cb2326b998e90818a22055fd6e52959d.zip |
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.
Diffstat (limited to 'pkgs/development/haskell-modules/non-hackage-packages.nix')
-rw-r--r-- | pkgs/development/haskell-modules/non-hackage-packages.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/non-hackage-packages.nix b/pkgs/development/haskell-modules/non-hackage-packages.nix new file mode 100644 index 000000000000..642c6bff6b53 --- /dev/null +++ b/pkgs/development/haskell-modules/non-hackage-packages.nix @@ -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 { }; +} |