mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
Merge branch 'intero-nix-shim' of git://github.com/michalrus/nixpkgs
This commit is contained in:
commit
2aae62fad6
|
@ -684,6 +684,9 @@ self: super: {
|
|||
store = self.store_0_3_1;
|
||||
});
|
||||
|
||||
# It makes no sense to have intero-nix-shim in Hackage, so we publish it here only.
|
||||
intero-nix-shim = self.callPackage ../tools/haskell/intero-nix-shim {};
|
||||
|
||||
# The latest Hoogle needs versions not yet in LTS Haskell 7.x.
|
||||
hoogle = super.hoogle.override { haskell-src-exts = self.haskell-src-exts_1_19_1; };
|
||||
|
||||
|
|
21
pkgs/development/tools/haskell/intero-nix-shim/default.nix
Normal file
21
pkgs/development/tools/haskell/intero-nix-shim/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ mkDerivation, base, directory, filepath, optparse-applicative
|
||||
, posix-escape, split, stdenv, unix, fetchFromGitHub
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "intero-nix-shim";
|
||||
version = "0.1.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "michalrus";
|
||||
repo = "intero-nix-shim";
|
||||
rev = "0.1.2";
|
||||
sha256 = "0p1h3w15bgvsbzi7f1n2dxxxz9yq7vmbxmww5igc5d3dm76skgzg";
|
||||
};
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
executableHaskellDepends = [
|
||||
base directory filepath optparse-applicative posix-escape split
|
||||
unix
|
||||
];
|
||||
homepage = "https://github.com/michalrus/intero-nix-shim";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
}
|
Loading…
Reference in a new issue