flake update

This commit is contained in:
Robin Appelman 2026-10-24 17:02:01 +02:00
commit 743fdeabe4
Signed by: robin
SSH key fingerprint: SHA256:kifqgrqnut7q1YUIrI0AdMNC23qiKAS/T9uGFmIYvbE
5 changed files with 39 additions and 37 deletions

44
flake.lock generated
View file

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"crane": { "crane": {
"locked": { "locked": {
"lastModified": 1742394900, "lastModified": 1788465171,
"narHash": "sha256-vVOAp9ahvnU+fQoKd4SEXB2JG2wbENkpqcwlkIXgUC0=", "narHash": "sha256-Y1/TTVXjYXGF068IThQH9fPSZ0SIE74PABlUxnWTUH0=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "70947c1908108c0c551ddfd73d4f750ff2ea67cd", "rev": "eb35abda9f232cc6610b1d1e3200d15c49b7ac54",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,11 +22,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745844883, "lastModified": 1792489355,
"narHash": "sha256-4t9eR291RIgYo29MvRQ04QgmjZNad3e5sBr40tLhLTM=", "narHash": "sha256-2PmFySKU1QBQD2U8ni5Ww0Mj4VGG+JoWDdiUMe0rCMY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "flakelight", "repo": "flakelight",
"rev": "78ad7409722c554effa360208417244c54ef398f", "rev": "3d088d158d9b0606298d33b80a55ecc1f592104e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -44,31 +44,31 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1745623947, "lastModified": 1789480598,
"narHash": "sha256-7Jt9a6YjBeRPso1VaRsH6ZnqNzt+MlcmVM7MNBSLVEI=", "narHash": "sha256-G1jy1kz2dLJCkVjjY2PnCXEL1B2iqMlSfz01YFCBY+c=",
"owner": "icewind1991", "ref": "refs/heads/main",
"repo": "mill-scale", "rev": "c1e026caf1750f226a20dab66594dc1ef3a34ec4",
"rev": "45597aa1134a3ea397c4441e36ac1d836a5de000", "revCount": 77,
"type": "github" "type": "git",
"url": "https://codeberg.org/icewind/mill-scale.git"
}, },
"original": { "original": {
"owner": "icewind1991", "type": "git",
"repo": "mill-scale", "url": "https://codeberg.org/icewind/mill-scale.git"
"type": "github"
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1746183838, "lastModified": 1792615934,
"narHash": "sha256-kwaaguGkAqTZ1oK0yXeQ3ayYjs8u/W7eEfrFpFfIDFA=", "narHash": "sha256-MlvRfa1O5Cqc2/a+gG+l9TSuowEoCKCmrJ1d9oAVm0I=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "bf3287dac860542719fe7554e21e686108716879", "rev": "da6dc0e7b26060f2f71ce3ef7088fb56ee44fa36",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "id": "nixpkgs",
"ref": "nixos-24.11", "ref": "nixos-26.05",
"type": "indirect" "type": "indirect"
} }
}, },
@ -88,11 +88,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1742697269, "lastModified": 1789457514,
"narHash": "sha256-Lpp0XyAtIl1oGJzNmTiTGLhTkcUjwSkEb0gOiNzYFGM=", "narHash": "sha256-Aggle++fTyAifBy+QBPxjM+obO5iepKW/8MDxQtgGvI=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "01973c84732f9275c50c5f075dd1f54cc04b3316", "rev": "89e99bf0778a8f2cd18c9360c3f19c1ee47fc739",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,12 +1,12 @@
{ {
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-24.11"; nixpkgs.url = "nixpkgs/nixos-26.05";
flakelight = { flakelight = {
url = "github:nix-community/flakelight"; url = "github:nix-community/flakelight";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
mill-scale = { mill-scale = {
url = "github:icewind1991/mill-scale"; url = "git+https://codeberg.org/icewind/mill-scale.git";
inputs.flakelight.follows = "flakelight"; inputs.flakelight.follows = "flakelight";
}; };
}; };
@ -16,7 +16,7 @@
extraPaths = [./data]; extraPaths = [./data];
withOverlays = [(import ./nix/overlay.nix)]; withOverlays = [(import ./nix/overlay.nix)];
checks = { checks = {
test = pkgs: pkgs.nixosTest (import ./nix/test.nix); test = pkgs: pkgs.testers.nixosTest (import ./nix/test.nix);
}; };
}; };
} }

View file

@ -1,6 +1,6 @@
{ {
php, php,
fetchFromGitHub, fetchFromGitea,
}: let }: let
phpWithExtensions = php.withExtensions ({ phpWithExtensions = php.withExtensions ({
enabled, enabled,
@ -12,16 +12,17 @@ in
pname = "demostf-api"; pname = "demostf-api";
version = "0.1.0"; version = "0.1.0";
src = fetchFromGitHub { src = fetchFromGitea {
domain = "codeberg.org";
owner = "demostf"; owner = "demostf";
repo = "api"; repo = "api";
rev = "52b9bc09fd187bf3bbc11dbe4443af0e07a716a4"; rev = "fff9070dfb14a7d8b07427e50395009f079339f0";
hash = "sha256-iMU7C2g76w5d5CtxRW5H50FxY+UlOc5gSpjxxbVyqUw="; hash = "sha256-yBpQGXAL19z7J2t4dYr1LP3+2d8C9cLY9WvjMtjs2rw=";
}; };
vendorHash = "sha256-EYWCR2aJAoyWvEX+SML4Fb3F3KGcUtwCgqhAGT6ZjZ4="; vendorHash = "sha256-EYWCR2aJAoyWvEX+SML4Fb3F3KGcUtwCgqhAGT6ZjZ4=";
composerStrictValidation = false; composerStrictValidation = true;
doCheck = false; doCheck = false;
}) })

View file

@ -1,16 +1,17 @@
{ {
rustPlatform, rustPlatform,
fetchFromGitHub, fetchFromGitea,
}: }:
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "demostf-parser"; pname = "demostf-parser";
version = "0.5.1"; version = "0.6.1";
src = fetchFromGitHub { src = fetchFromGitea {
domain = "codeberg.org";
owner = "demostf"; owner = "demostf";
repo = "parser"; repo = "parser";
rev = "0cd87a8a40e2a6af637d831b272c2758cebd2f9c"; rev = "v0.6.1";
hash = "sha256-bKcc0hWTkdYUDMI/DjUh45abuBeQEvkn6TsuAz02H5Y="; hash = "sha256-Hia97pYryYNal1HCoyt8RzAyqXoBp45gD3ERePIfNvs=";
}; };
cargoBuildFlags = '' cargoBuildFlags = ''
@ -19,5 +20,5 @@ rustPlatform.buildRustPackage {
doCheck = false; doCheck = false;
cargoHash = "sha256-/Fnw6l2fznrBK780E4q1PKFOkT0eiL+dE+UuhFA+V9M="; cargoHash = "sha256-FidQgOAfNyzhMs3aaT/FVJ/70XG/Z6GW3/MohegaJMw=";
} }

View file

@ -95,7 +95,7 @@
DB_DATABASE = "demostf"; DB_DATABASE = "demostf";
DB_USERNAME = "demostf"; DB_USERNAME = "demostf";
APP_ROOT = "http://localhost"; APP_ROOT = "http://localhost";
EDIT_SECRET = "edit"; EDIT_KEY = "edit";
ACCESS_KEY = "access"; ACCESS_KEY = "access";
PARSER_PATH = "${pkgs.demostf-parser}/bin/parse_demo"; PARSER_PATH = "${pkgs.demostf-parser}/bin/parse_demo";
}; };