Updated to nixos 26.05

Change array initializers to shut up -Wno-unterminated-string-initialization
This commit is contained in:
Sebastian 2026-05-30 20:08:31 +02:00
parent cd104a7ecc
commit 64af7caae5
4 changed files with 12 additions and 7 deletions

View file

@ -1,3 +1,8 @@
#include "ais_charset.h" #include "ais_charset.h"
char ais_charset[64] = "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_ !\"#$%&'()*+,-./0123456789:;<=>?"; char ais_charset[64] = {'@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J',
'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U',
'V', 'W', 'X', 'Y', 'Z', '[', '\\', ']', '^', '_', ' ',
'!', '\"', '#', '$', '%', '&', '\'', '(', ')', '*', '+',
',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6',
'7', '8', '9', ':', ';', '<', '=', '>', '?'};

8
flake.lock generated
View file

@ -2,16 +2,16 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1765311797, "lastModified": 1779971959,
"narHash": "sha256-mSD5Ob7a+T2RNjvPvOA1dkJHGVrNVl8ZOrAwBjKBDQo=", "narHash": "sha256-R5nauXyqyfRUFiZycFFZdkF7wl6eaUpPLst35+2nJQY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "09eb77e94fa25202af8f3e81ddc7353d9970ac1b", "rev": "ec942ba042dad5ef097e2ef3a3effc034241f011",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.11", "ref": "nixos-26.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -1,7 +1,7 @@
{ {
description = "A flake for dump1090 with DL0XK patches."; description = "A flake for dump1090 with DL0XK patches.";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
}; };

View file

@ -100,7 +100,7 @@ void interactiveShowData(void) {
static uint64_t next_update; static uint64_t next_update;
uint64_t now = mstime(); uint64_t now = mstime();
char progress; char progress;
char spinner[4] = "|/-\\"; char spinner[4] = {'|', '/', '-', '\\'};
// Refresh screen every (MODES_INTERACTIVE_REFRESH_TIME) miliseconde // Refresh screen every (MODES_INTERACTIVE_REFRESH_TIME) miliseconde
if (now < next_update) if (now < next_update)