haskell-nix-paths: pull the library in from Hackage now that it's been published

This commit is contained in:
Peter Simons 2015-09-10 15:11:17 +02:00
parent eb5657e5a2
commit f6fd6defa5
2 changed files with 0 additions and 20 deletions

View File

@ -755,7 +755,6 @@ self: super: {
zlib = dontCheck super.zlib;
# Override the obsolete version from Hackage with our more up-to-date copy.
nix-paths = self.callPackage ../tools/haskell/cabal2nix/nix-paths.nix {};
cabal2nix = self.callPackage ../tools/haskell/cabal2nix/cabal2nix.nix {};
hackage2nix = self.callPackage ../tools/haskell/cabal2nix/hackage2nix.nix {};
language-nix = self.callPackage ../tools/haskell/cabal2nix/language-nix.nix {};

View File

@ -1,19 +0,0 @@
{ mkDerivation, base, fetchFromGitHub, nix, stdenv }:
mkDerivation rec {
pname = "nix-paths";
version = "1";
src = fetchFromGitHub {
owner = "nixos";
repo = "cabal2nix";
rev = "c475c17fa5f8dfc16c694fb0264486f94cbf2c5e";
sha256 = "0skqdka1ibgwf33b23ibz93g5h6mbv31p1rbqz66j8qgxsvcgrkg";
};
postUnpack = "sourceRoot+=/${pname}";
libraryHaskellDepends = [ base ];
libraryToolDepends = [ nix ];
homepage = "https://github.com/nixos/cabal2nix#readme";
description = "Knowledge of Nix's installation directories";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ simons ];
}