Updated to nixos 25.05

This commit is contained in:
Sebastian 2025-05-24 15:38:52 +02:00
parent d676d1cae0
commit 8b40b923ee
3 changed files with 6 additions and 6 deletions

8
flake.lock generated
View file

@ -2,16 +2,16 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1717179513,
"narHash": "sha256-vboIEwIQojofItm2xGCdZCzW96U85l9nDW3ifMuAIdM=",
"lastModified": 1748026580,
"narHash": "sha256-rWtXrcIzU5wm/C8F9LWvUfBGu5U5E7cFzPYT1pHIJaQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "63dacb46bf939521bdc93981b4cbb7ecb58427a0",
"rev": "11cb3517b3af6af300dd6c055aeda73c9bf52c48",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "24.05",
"ref": "25.05",
"repo": "nixpkgs",
"type": "github"
}

View file

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

View file

@ -93,7 +93,7 @@ struct net_service *serviceInit(const char *descr, struct net_writer *writer, he
{
struct net_service *service;
if (!(service = calloc(sizeof(*service), 1))) {
if (!(service = calloc(1, sizeof(*service)))) {
fprintf(stderr, "Out of memory allocating service %s\n", descr);
exit(1);
}