Compare commits
14 Commits
1a2ca2dcbd
...
f30cb60591
Author | SHA1 | Date | |
---|---|---|---|
f30cb60591 | |||
|
01aa149c2f | ||
|
405c2209d9 | ||
|
cef8e52378 | ||
|
3b6494b279 | ||
|
b21810d0c7 | ||
|
016f81f779 | ||
|
aea515fa21 | ||
|
6a3f2b85d6 | ||
|
3aac6cb4c2 | ||
|
ae90aec593 | ||
|
9a65d13b0f | ||
|
e9830f1d8f | ||
|
098b931c0a |
@ -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 () =
|
||||
|
Loading…
Reference in New Issue
Block a user