gnu: ocaml-cmdliner: Fix non determinism.
* gnu/packages/ocaml.scm (ocaml-cmdliner)[arguments]: Patch build.ml to fix a file ordering issue.
This commit is contained in:
parent
38f06188df
commit
6c79cee2e3
|
@ -1627,7 +1627,13 @@ spans without being subject to operating system calendar time adjustments.")
|
||||||
"/lib/ocaml/site-lib/cmdliner"))
|
"/lib/ocaml/site-lib/cmdliner"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure))))
|
(delete 'configure)
|
||||||
|
(add-before 'build 'fix-source-file-order
|
||||||
|
(lambda _
|
||||||
|
(substitute* "build.ml"
|
||||||
|
(("Sys.readdir dir")
|
||||||
|
"let a = Sys.readdir dir in Array.sort String.compare a; a"))
|
||||||
|
#t)))))
|
||||||
(home-page "http://erratique.ch/software/cmdliner")
|
(home-page "http://erratique.ch/software/cmdliner")
|
||||||
(synopsis "Declarative definition of command line interfaces for OCaml")
|
(synopsis "Declarative definition of command line interfaces for OCaml")
|
||||||
(description "Cmdliner is a module for the declarative definition of command
|
(description "Cmdliner is a module for the declarative definition of command
|
||||||
|
|
Loading…
Reference in New Issue