summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-08-07 22:59:45 +0200
committerPeter Simons <simons@cryp.to>2015-08-07 23:08:13 +0200
commit3dbfcdc3d4148f4094bcd50973b8008f62c0c6c2 (patch)
treec61162276313dd3d082669f85ab6be88b660c43a /pkgs/development/haskell-modules/configuration-common.nix
parent13dc24f5c3d855c5fdd6fbbdd331ae78df9eb0e9 (diff)
downloadnixpkgs-3dbfcdc3d4148f4094bcd50973b8008f62c0c6c2.tar
nixpkgs-3dbfcdc3d4148f4094bcd50973b8008f62c0c6c2.tar.gz
nixpkgs-3dbfcdc3d4148f4094bcd50973b8008f62c0c6c2.tar.bz2
nixpkgs-3dbfcdc3d4148f4094bcd50973b8008f62c0c6c2.tar.lz
nixpkgs-3dbfcdc3d4148f4094bcd50973b8008f62c0c6c2.tar.xz
nixpkgs-3dbfcdc3d4148f4094bcd50973b8008f62c0c6c2.tar.zst
nixpkgs-3dbfcdc3d4148f4094bcd50973b8008f62c0c6c2.zip
cabal2nix: make the package visible from the top-level
This means that "nix-env -i cabal2nix" suffices to install this package.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index bfd3bd04df1..7a972ee1f21 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -766,7 +766,7 @@ self: super: {
   zlib = dontCheck super.zlib;
 
   # Override the obsolete version from Hackage with our more up-to-date copy.
-  cabal2nix = pkgs.cabal2nix;
+  cabal2nix = self.callPackage ../tools/haskell/cabal2nix {};
 
   # https://github.com/urs-of-the-backwoods/HGamer3D/issues/7
   HGamer3D-Bullet-Binding = dontDistribute super.HGamer3D-Bullet-Binding;