bump (unbuilt)
This commit is contained in:
parent
669bdf16b7
commit
d21c6825cc
2 changed files with 26 additions and 26 deletions
|
|
@ -44,6 +44,9 @@ def post-rebuild [] {
|
|||
rustup update
|
||||
}
|
||||
|
||||
def get_gen [] {
|
||||
sudo nix-env --profile /nix/var/nix/profiles/system --list-generations | detect columns --guess -n | last | get column0
|
||||
}
|
||||
def bump [...rest] {
|
||||
cd /home/tao/projects/NOflake/
|
||||
mut r = "@"
|
||||
|
|
@ -64,9 +67,6 @@ def bump [...rest] {
|
|||
}
|
||||
let r = jj log -r @ --no-pager --no-graph --template 'change_id'
|
||||
sudo nix flake update
|
||||
def get_gen [] {
|
||||
sudo nix-env --profile /nix/var/nix/profiles/system --list-generations | detect columns --guess -n | last | get column0
|
||||
}
|
||||
let curr_gen = get_gen()
|
||||
let build_status = rebuild boot
|
||||
let new_gen = get_gen()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue