cabal2nix: make the package visible from the top-level

This means that "nix-env -i cabal2nix" suffices to install this package.
This commit is contained in:
Peter Simons 2015-08-07 22:59:45 +02:00
parent 13dc24f5c3
commit 3dbfcdc3d4
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -15,7 +15,7 @@ mkDerivation rec {
sha256 = "1w5ba7cdanpq4nr8xngk1jsj0p6b17c6ap24ldzggrln216f3f7d";
deepClone = true;
};
isLibrary = true;
isLibrary = false;
isExecutable = true;
libraryHaskellDepends = [
aeson ansi-wl-pprint base bytestring Cabal containers

View File

@ -788,7 +788,7 @@ let
byobu = callPackage ../tools/misc/byobu { };
cabal2nix = haskellPackages.callPackage ../development/tools/haskell/cabal2nix {};
cabal2nix = haskellPackages.cabal2nix;
capstone = callPackage ../development/libraries/capstone { };