Skip to content

Instantly share code, notes, and snippets.

@MostAwesomeDude
Created November 12, 2019 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MostAwesomeDude/97afedbe1db3ec9f0de2f4ee71674816 to your computer and use it in GitHub Desktop.
Save MostAwesomeDude/97afedbe1db3ec9f0de2f4ee71674816 to your computer and use it in GitHub Desktop.
{ nixpkgs ? import (builtins.fetchTarball {
name = "spotter-pinned-nixpkgs";
url = https://github.com/NixOS/nixpkgs/archive/0137b08bd1070a22564bf67bb7a678d2a6a60452.tar.gz;
sha256 = "11806x69zxmmjhpv4cvpii2f51gqyd8yivdk7pv6nmlsc3d349yv";
}) {} }:
let
inherit (nixpkgs) pkgs;
ocamlPackages = pkgs.ocamlPackages_latest;
in pkgs.stdenv.mkDerivation {
name = "spotter-env";
buildInputs = with pkgs; [
git gist
rlwrap
ocamlformat
] ++ (with ocamlPackages; [
ocaml ocamlbuild findlib utop core camomile zarith
]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment