Shells in OCaml

Simplify build for Nix

+6 -47
+2 -12
dune-project
··· 39 39 (fpath 40 40 (>= 0.7.3)) 41 41 (eio_posix 42 - (= "dev")) 42 + (= 1.3)) 43 43 (eio 44 - (= "dev")) 44 + (= 1.3)) 45 45 (cmdliner 46 46 (>= 1.3.0)) 47 47 ocaml) 48 48 (tags 49 49 ("add topics" "to describe" your project))) 50 - 51 - (package 52 - (name msh) 53 - (synopsis "A shell") 54 - (description 55 - "msh is a shell written completely in OCaml using the merry library") 56 - (depends 57 - (eio_posix 58 - (>= 1.3)) 59 - merry))
+2 -2
merry.opam
··· 20 20 "ppx_deriving_yojson" {>= "3.10.0"} 21 21 "globlon" {>= "0"} 22 22 "fpath" {>= "0.7.3"} 23 - "eio_posix" {= "dev"} 24 - "eio" {= "dev"} 23 + "eio_posix" {= "1.3"} 24 + "eio" {= "1.3"} 25 25 "cmdliner" {>= "1.3.0"} 26 26 "ocaml" 27 27 "odoc" {with-doc}
-31
msh.opam
··· 1 - # This file is generated by dune, edit dune-project instead 2 - opam-version: "2.0" 3 - synopsis: "A shell" 4 - description: 5 - "msh is a shell written completely in OCaml using the merry library" 6 - maintainer: ["Patrick Ferris <patrick@sirref.org>"] 7 - authors: ["Patrick Ferris <patrick@sirref.org>"] 8 - license: "ISC" 9 - doc: "https://url/to/documentation" 10 - depends: [ 11 - "dune" {>= "3.20"} 12 - "eio_posix" {>= "1.3"} 13 - "merry" 14 - "odoc" {with-doc} 15 - ] 16 - build: [ 17 - ["dune" "subst"] {dev} 18 - [ 19 - "dune" 20 - "build" 21 - "-p" 22 - name 23 - "-j" 24 - jobs 25 - "@install" 26 - "@runtest" {with-test} 27 - "@doc" {with-doc} 28 - ] 29 - ] 30 - dev-repo: "git+https://tangled.org/patrick.sirref.org/merry" 31 - x-maintenance-intent: ["(latest)"]
+1 -1
src/bin/dune
··· 1 1 (executable 2 2 (public_name msh) 3 - (package msh) 3 + (package merry) 4 4 (name main) 5 5 (libraries merry merry.posix eio_posix cmdliner fmt.tty))
+1 -1
test/dune
··· 1 1 (cram 2 - (package msh) 2 + (package merry) 3 3 (deps %{bin:msh})) 4 4 5 5 (test