Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot] 2025-02-19 11:19:10 +00:00 committed by GitHub
commit a8eabdcf7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 1433 additions and 657 deletions

View file

@ -95,7 +95,7 @@ if (!-f "/etc/NIXOS" && (read_file("/etc/os-release", err_mode => "quiet") // ""
make_path("/run/nixos", { mode => oct(755) });
open(my $stc_lock, '>>', '/run/nixos/switch-to-configuration.lock') or die "Could not open lock - $!";
flock($stc_lock, LOCK_EX) or die "Could not acquire lock - $!";
flock($stc_lock, LOCK_EX|LOCK_NB) or die "Could not acquire lock - $!";
openlog("nixos", "", LOG_USER);
# run pre-switch checks