Skip to content

eviefp/nix-tooling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix tooling

Nix-tooling aims to provide simple easy-to-use tooling for working with Purescript and Haskell.

The Purescript part is entirely reliant on the excellent easy-purescript-nix library.

Prerequisites

niv

Setup

How to set up:

  1. In the directory for your project, run niv init.
  2. Add this repository as a source: niv add vladciobanu/nix-tooling
  3. Create a default.nix:
let
  sources = import ./nix/sources.nix;
  tooling = import sources.nix-tooling;
in
  tooling

For Purescript projects, you can create a shell.nix file as:

let
  tooling = import ./default.nix;
in
  tooling.purescript.mkShell

For Haskell projects, you can create a shell.nix file as:

let
  tooling = import ./default.nix;
in
  tooling.haskell.mkShell

You should now be able to run nix-shell and have access to my choice of development tools for the language.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages