diff options
author | Shea Levy <shea@shealevy.com> | 2017-05-03 17:59:26 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2017-05-03 17:59:26 -0400 |
commit | 2aae62fad60f153c9b613081a719b237378a551a (patch) | |
tree | b12bb43ed7ef850c6892554e3fd87182c974f130 /pkgs | |
parent | f556d94527a4246c044586fa47904643b8c4a89d (diff) | |
parent | 9925c5c9b14ba4005a61d44afcff291dbd53120e (diff) | |
download | nixpkgs-2aae62fad60f153c9b613081a719b237378a551a.tar nixpkgs-2aae62fad60f153c9b613081a719b237378a551a.tar.gz nixpkgs-2aae62fad60f153c9b613081a719b237378a551a.tar.bz2 nixpkgs-2aae62fad60f153c9b613081a719b237378a551a.tar.lz nixpkgs-2aae62fad60f153c9b613081a719b237378a551a.tar.xz nixpkgs-2aae62fad60f153c9b613081a719b237378a551a.tar.zst nixpkgs-2aae62fad60f153c9b613081a719b237378a551a.zip |
Merge branch 'intero-nix-shim' of git://github.com/michalrus/nixpkgs
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 3 | ||||
-rw-r--r-- | pkgs/development/tools/haskell/intero-nix-shim/default.nix | 21 |
2 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 0d563081ed2..3f4274441ba 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -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; }; diff --git a/pkgs/development/tools/haskell/intero-nix-shim/default.nix b/pkgs/development/tools/haskell/intero-nix-shim/default.nix new file mode 100644 index 00000000000..4e9e3381ab0 --- /dev/null +++ b/pkgs/development/tools/haskell/intero-nix-shim/default.nix @@ -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; +} |