Browse Source

Ocaml files, nix development files

Taylor Bockman 8 years ago
parent
commit
f6066873d3
  1. 1
      dotfiles/ocamlinit
  2. 8
      nix/development/default.nix

1
dotfiles/ocamlinit

@ -1,5 +1,6 @@
#use "topfind";; #use "topfind";;
#thread;; #thread;;
#camlp4o;; #camlp4o;;
#require "async";;
#require "core.top";; #require "core.top";;
#require "core.syntax";; #require "core.syntax";;

8
nix/development/default.nix

@ -1,8 +1,13 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
environment = { environment = {
# OCaml has trouble finding pthread. So we set PTHREAD_LIBS to give iet a heads up
# ** currently doesnt set PTHREAD_LIBS at all **
variables = { variables = {
EDITOR = "nvim"; EDITOR = "nvim";
PTHREAD_CFLAGS = "-I${pkgs.glibc}/include/";
PTHREAD_LIBS = "-L${pkgs.glibc}/lib/";
}; };
systemPackages = with pkgs; [ systemPackages = with pkgs; [
@ -14,6 +19,7 @@
freetype # Library to render fonts required by some packages freetype # Library to render fonts required by some packages
gcc # GNU Compiler Collection gcc # GNU Compiler Collection
ghc # Haskell compiler ghc # Haskell compiler
glibc # Glibc
gnumake # GNU Make gnumake # GNU Make
git # Source control git # Source control
libev # Event loop library libev # Event loop library
@ -24,10 +30,12 @@
ocamlPackages.ocaml_batteries # OCaml batteries included ocamlPackages.ocaml_batteries # OCaml batteries included
ocamlPackages.merlin # OCaml editor enhancement ocamlPackages.merlin # OCaml editor enhancement
ocamlPackages.findlib # OCaml findlib ocamlPackages.findlib # OCaml findlib
ocamlPackages.lambdaTerm # Lambda Term Library
ocamlPackages.ocaml_lwt # OCaml LWT Library - Saves time otherwise spent fighting with opam ocamlPackages.ocaml_lwt # OCaml LWT Library - Saves time otherwise spent fighting with opam
ocamlPackages.ocaml_oasis # OASIS Project Architecture Tool for OCaml ocamlPackages.ocaml_oasis # OASIS Project Architecture Tool for OCaml
ocamlPackages.utop # Much better top-level for OCaml ocamlPackages.utop # Much better top-level for OCaml
opam # OCaml package manager opam # OCaml package manager
pkgconfig
python3 # Python 3 python3 # Python 3
python34Packages.setuptools # Python setuptools python34Packages.setuptools # Python setuptools
silver-searcher # Better than grep silver-searcher # Better than grep

Loading…
Cancel
Save