mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
haskell-nix-paths: initial version 1
This commit is contained in:
parent
2017d56edf
commit
1e5e17eeac
@ -755,6 +755,7 @@ 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 {};
|
||||
|
19
pkgs/development/tools/haskell/cabal2nix/nix-paths.nix
Normal file
19
pkgs/development/tools/haskell/cabal2nix/nix-paths.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ 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 ];
|
||||
}
|
Loading…
Reference in New Issue
Block a user