Compare commits

..

14 Commits

Author SHA1 Message Date
f30cb60591 remove reliance on nh for most things 2025-06-20 13:14:37 +10:00
atagen
01aa149c2f remove ocaml overlay 2025-02-08 11:00:56 +11:00
atagen
405c2209d9 overlay fixed, update 2024-12-14 18:31:15 +11:00
atagen
cef8e52378 use nixpkgs input and ocaml overlay 2024-12-12 12:31:04 +11:00
atagen
3b6494b279 downgrade dune ver 2024-12-06 15:24:19 +11:00
atagen
b21810d0c7 remove superfluous tests 2024-12-06 15:24:02 +11:00
atagen
016f81f779 add ocaml overlay back, create justfile 2024-12-06 15:20:25 +11:00
atagen
aea515fa21 gitignore update 2024-12-06 15:19:33 +11:00
atagen
6a3f2b85d6 downgrade dune lang version 2024-12-05 18:26:45 +11:00
atagen
3aac6cb4c2 hh 2024-12-05 18:19:09 +11:00
atagen
ae90aec593 typo 2024-12-05 18:18:38 +11:00
atagen
9a65d13b0f more oops 2024-12-05 18:17:08 +11:00
atagen
e9830f1d8f oops 2024-12-05 18:16:38 +11:00
atagen
098b931c0a remove ocaml overlay 2024-12-05 18:15:37 +11:00

View File

@ -35,8 +35,7 @@ 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 boot" >|=
fun () -> do_cmd @@ "sudo " ^ tmpdir ^ "/build/bin/switch-to-configuration switch" >|=
fun () -> Unix.unlink @@ tmpdir ^ "/build"
let yum () =