mirror of
https://github.com/LCPQ/quantum_package
synced 2024-08-31 00:23:42 +02:00
12 lines
267 B
OCaml
12 lines
267 B
OCaml
|
open Core.Std;;
|
||
|
|
||
|
(** Variables related to the quantum package installation *)
|
||
|
|
||
|
let root =
|
||
|
match (Sys.getenv "QPACKAGE_ROOT") with
|
||
|
| None -> failwith "QPACKAGE_ROOT environment variable is not set.
|
||
|
Please source the quantum_package.rc file."
|
||
|
| Some x -> x
|
||
|
;;
|
||
|
|