blob: 8f7d338efd8952640f45b206a1c6e015c0e46142 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/usr/bin/env sh
# nixos-config - My current NixOS configuration
#
# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
# SPDX-License-Identifier: GPL-3.0-or-later
#
# This file is part of my nixos-config.
#
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
__update_sh_run() {
__update_sh_command="$1"
shift 1
printf "\033[35;1m> \033[0m\033[35;1m%s\033[0m\n" "Running '$(basename "$__update_sh_command") $*' .."
"$__update_sh_command" "$@"
unset __update_sh_command
}
__update_sh_run nix flake update
__update_sh_run ./pkgs/update_pkgs.sh "$@"
# __update_sh_run nix flake check
__update_sh_run ./build.sh
printf "\033[31;1m%s\033[0m\033[33;1m%s\033[0m\n" "Also update out-of-tree dependencies, like " "yt" 2>&1
# vim: ft=sh
|