flake updates

This commit is contained in:
Robin Appelman 2025-05-24 14:32:33 +02:00
commit 76e17ee105
2 changed files with 24 additions and 16 deletions

30
flake.lock generated
View file

@ -22,11 +22,11 @@
]
},
"locked": {
"lastModified": 1742820300,
"narHash": "sha256-2nQkRoWxyvEhXJQRrX8HL38hjWu6Ra86Dpcl5L1YvCo=",
"lastModified": 1747659009,
"narHash": "sha256-3FFAthqh4rWKTClF+WgM+9CmMDlnfWcPdd3hGBFVNHc=",
"owner": "nix-community",
"repo": "flakelight",
"rev": "0c6e80f747d8324ddfbf9efc93d1e6d24f94477a",
"rev": "93d72adbe0b022791b0faadfb31cb6e98c37f0ad",
"type": "github"
},
"original": {
@ -44,26 +44,26 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1742759991,
"narHash": "sha256-SjmWydHdBuPS7vrsZWTprCdLY796Dj9YNFd2Rp0w/KE=",
"owner": "icewind1991",
"repo": "mill-scale",
"rev": "8196ca2f6daea4bd48eb86c61264c58ae8635440",
"type": "github"
"lastModified": 1748035164,
"narHash": "sha256-PMWOFLi3oU/Eb+y4a0MlHS0IcUZ+UFCoGmA1Q7DnoW4=",
"ref": "refs/heads/main",
"rev": "e6d5d797b3d2c738309152f2545518b2b117f72b",
"revCount": 48,
"type": "git",
"url": "https://codeberg.org/icewind/mill-scale.git"
},
"original": {
"owner": "icewind1991",
"repo": "mill-scale",
"type": "github"
"type": "git",
"url": "https://codeberg.org/icewind/mill-scale.git"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1743231893,
"narHash": "sha256-tpJsHMUPEhEnzySoQxx7+kA+KUtgWqvlcUBqROYNNt0=",
"lastModified": 1747862697,
"narHash": "sha256-U4HaNZ1W26cbOVm0Eb5OdGSnfQVWQKbLSPrSSa78KC0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c570c1f5304493cafe133b8d843c7c1c4a10d3a6",
"rev": "2baa12ff69913392faf0ace833bc54bba297ea95",
"type": "github"
},
"original": {

View file

@ -6,12 +6,20 @@
inputs.nixpkgs.follows = "nixpkgs";
};
mill-scale = {
url = "github:icewind1991/mill-scale";
url = "git+https://codeberg.org/icewind/mill-scale.git";
inputs.flakelight.follows = "flakelight";
};
};
outputs = {mill-scale, ...}:
mill-scale ./. {
extraPaths = [./src/server];
packageOpts = {vbsp-server-viewer, ...}: {
postPatch = ''
cp -r ${vbsp-server-viewer} src/server/viewer/dist
'';
};
withOverlays = [(import ./nix/overlay.nix)];
};
}