fix assets build

This commit is contained in:
Robin Appelman 2025-06-20 18:17:59 +02:00
commit 2994f7b509
2 changed files with 40 additions and 3 deletions

23
flake.lock generated
View file

@ -76,7 +76,8 @@
"inputs": { "inputs": {
"flakelight": "flakelight", "flakelight": "flakelight",
"mill-scale": "mill-scale", "mill-scale": "mill-scale",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs",
"steam-fetcher": "steam-fetcher"
} }
}, },
"rust-overlay": { "rust-overlay": {
@ -100,6 +101,26 @@
"repo": "rust-overlay", "repo": "rust-overlay",
"type": "github" "type": "github"
} }
},
"steam-fetcher": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1714795926,
"narHash": "sha256-PkgC9jqoN6cJ8XYzTA2PlrWs7aPJkM3BGiTxNqax0cA=",
"owner": "nix-community",
"repo": "steam-fetcher",
"rev": "12f66eafb7862d91b3e30c14035f96a21941bd9c",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "steam-fetcher",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -9,8 +9,16 @@
url = "git+https://codeberg.org/icewind/mill-scale.git"; url = "git+https://codeberg.org/icewind/mill-scale.git";
inputs.flakelight.follows = "flakelight"; inputs.flakelight.follows = "flakelight";
}; };
steam-fetcher = {
url = "github:nix-community/steam-fetcher";
inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = {mill-scale, ...}: };
outputs = {
mill-scale,
steam-fetcher,
...
}:
mill-scale ./. { mill-scale ./. {
extraPaths = [./src/server]; extraPaths = [./src/server];
@ -20,6 +28,14 @@
''; '';
}; };
withOverlays = [(import ./nix/overlay.nix)]; packages = {
vbsp-server = pkgs: pkgs.vbsp-server;
vbsp-server-viewer = pkgs: pkgs.vbsp-server-viewer;
};
withOverlays = [
steam-fetcher.overlays.default
(import ./nix/overlay.nix)
];
}; };
} }