• This repository has been archived on 14/May/2019
  • Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    Nix
  • Created almost 7 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Nix packages for Haskell IDE Engine

Superseeded by https://github.com/Infinisil/all-hies

This project is around just for reference, please use all-hies instead.


Purpose

The purpose of this repository is to provide HIE for each major GHC version installable via Nix.

Hie built with specific GHC needs to match the major version of GHC used on development project.

Install

For linux you can use binaries provided by Cachix. See instructions how to configure cachix. Otherwise (on macOS) be prepared to compile for a while.

To install a wrapper that will be able to pick between hie-8.2 and hie-8.4:

$ nix-env -iA hies -f https://github.com/domenkozar/hie-nix/tarball/master
$ hie-8.2 --help
$ hie-8.4 --help

Or for just a specific GHC and get hie:

$ nix-env -iA hie84 -f https://github.com/domenkozar/hie-nix/tarball/master
$ hie --help

Updating HIE

# edit commit in update.sh
$ ./update.sh

FAQ

How do I make editor integrate the right hie version?

Install hies which will include all supported GHC versions and the wrapper supported by most editors.

How do I integrate my editor?

See https://github.com/haskell/haskell-ide-engine#editor-integration

Does hie-nix work with Stack?

Yes, but make sure you have Nix enabled in either stack.yaml in your project or globally:

$ cat ~/.stack/config.yaml
nix: 
  enable: true

How can I expose Nix's hoogle database to HIE

hie looks at the environment variable HIE_HOOGLE_DATABASE, one can find the index by looking at Nix's Hoogle wrapper script.

One can add the below to the shell's shellHook. Make sure to use ghcWithHoogle or ghc.withHoogle when creating the shell to ensure the Hoogle database is created.

export HIE_HOOGLE_DATABASE="$(cat $(which hoogle) | sed -n -e 's|.*--database \(.*\.hoo\).*|\1|p')"

More Repositories

1

hnix-lsp

Language Server Protocol for Nix
Nix
67
star
2

almir

Bacula web administration written in Pyramid
Python
38
star
3

releaser

Automation of Haskell package release process.
Haskell
31
star
4

homelab

Nix
30
star
5

proxsign-nix

Easy way to use proxsign on Linux
Nix
28
star
6

hydra-frontend

Superseeded by https://github.com/hercules-ci/hercules
Elm
21
star
7

g-pypi

g-pypi manages ebuilds for Gentoo Linux using information in PyPi (Python Package Index)
Python
17
star
8

domenkozar.com

Personal webpage and blog
Python
16
star
9

Products.TinyMCE

Google Summer of Code 2011 - TinyMCE improvements for Plone integration
JavaScript
11
star
10

nose-selecttests

Simple nose plugin that enables developers to run subset of collected tests to spare some waiting time for better things.
Python
10
star
11

coursea-crypto

Solutions to programming assignments for online Cryptography class at Stanford University
Python
8
star
12

snabb-openstack-testing

Snabb Switch functional testing suite for OpenStack integration using NixOS
Shell
8
star
13

najdi-si-sms

Python
7
star
14

whystatictypingmatters.com

Arguments for and against static typing
7
star
15

servant-streaming-amazonka

Haskell
5
star
16

pyramid_marrowmailer

Pyramid integration package for marrow.mailer, formerly known as TurboMail.
Python
5
star
17

kamdanes.si

Haskell
4
star
18

zed-flake8

Flake8 integration with zed editor
JavaScript
4
star
19

django-akismet-comments

Django moderator for checking django.contrib.comments spam against akismet service.
Python
4
star
20

bobtemplates.ielectric

My mr.bob templates
Python
4
star
21

dotvim

Personal configuration of vim editor
Vim Script
3
star
22

hnix-store-core-benchmark

Haskell
3
star
23

titanpad-backup-tool

Shell script to backup zip file of all pads on titanpad.com
Shell
3
star
24

ide-nix

Atom plugin for hnix-lsp
JavaScript
3
star
25

pyramid-cookiecutter-jinja2

A cookiecutter (project template) for creating a Pyramid starter project using Jinja2 for templating.
Python
2
star
26

nixpkgs-static-repo

Nix
2
star
27

test-nix-1-11-7

Shell
2
star
28

liberate-me

Collection of scripts to liberate your data from the cloud services.
JavaScript
2
star
29

nix-easyrsa

Nix expression to generate easyrsa certificates (eg. OpenVPN)
2
star
30

Teambox-Slovenian-translation

2
star
31

Django-Beer-Workshop

Material for workshop in Slovenia
Python
2
star
32

devenv-ruby

Nix
2
star
33

cardano-sl-explorer-frontend

PureScript
1
star
34

Products.FeedFeeder

tiny changes needed for odprtakoda.si
Python
1
star
35

augeas_bacula

Augeas parser for bacula
Augeas
1
star
36

templer.ielectric

Outdated, see https://github.com/iElectric/bobtemplates.ielectric
Python
1
star
37

test-direct-push-warning

1
star
38

odprtakoda.si

Source for open source portal in Slovenia
Python
1
star
39

collective.nutrition

This is a Plone Product I wrote according to specs from client, that never paid. Supposedly "totally unuseful", so why should you care ;)
Python
1
star