Compare commits

..

10 Commits

Author SHA1 Message Date
1a2ca2dcbd remove reliance on nh for most things 2025-06-23 00:44:34 +10:00
atagen
56d0dc028f remove ocaml overlay 2025-06-23 00:43:55 +10:00
atagen
ec00841899 overlay fixed, update 2025-06-23 00:43:55 +10:00
atagen
4bc3176ce6 use nixpkgs input and ocaml overlay 2025-06-23 00:43:55 +10:00
atagen
4490c67de9 downgrade dune ver 2025-06-23 00:43:55 +10:00
atagen
ad43326a43 remove superfluous tests 2025-06-23 00:43:55 +10:00
atagen
32347132cc add ocaml overlay back, create justfile 2025-06-23 00:43:55 +10:00
atagen
fa2b70cfdb gitignore update 2025-06-23 00:43:55 +10:00
atagen
abd078ac19 downgrade dune lang version 2025-06-23 00:43:55 +10:00
atagen
9fc368c2e6 remove ocaml overlay 2025-06-23 00:43:55 +10:00

View File

@ -35,7 +35,8 @@ let do_build () =
let tmpdir = Filename.temp_dir "meat-build" "" in
let build_target = Unix.getenv "MEATS" ^ "#nixosConfigurations." ^ Unix.gethostname () ^ ".config.system.build.toplevel" in
do_cmd @@ "nix build --out-link " ^ tmpdir ^ "/build " ^ build_target >>=
fun () -> do_cmd @@ "sudo " ^ tmpdir ^ "/build/bin/switch-to-configuration switch" >|=
fun () -> do_cmd @@ "sudo " ^ tmpdir ^ "/build/bin/switch-to-configuration switch" >>=
fun () -> do_cmd @@ "sudo " ^ tmpdir ^ "/build/bin/switch-to-configuration boot" >|=
fun () -> Unix.unlink @@ tmpdir ^ "/build"
let yum () =