mirror of
https://codeberg.org/spire/mapdownloader.git
synced 2026-11-30 13:20:48 +01:00
flake update
This commit is contained in:
parent
218f4b0f57
commit
df19787ac6
2 changed files with 47 additions and 60 deletions
18
flake.nix
18
flake.nix
|
|
@ -1,26 +1,26 @@
|
|||
{
|
||||
inputs = {
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
nixpkgs.url = "nixpkgs/release-23.05";
|
||||
spire.url = "github:spiretf/nix";
|
||||
spire.inputs.nixpkgs.follows = "nixpkgs";
|
||||
spire.inputs.flake-utils.follows = "utils";
|
||||
nixpkgs.url = "nixpkgs/release-25.05";
|
||||
flakelight.url = "github:nix-community/flakelight";
|
||||
spire.url = "git+https://codeberg.org/spire/nix";
|
||||
flakelight.inputs.nixpkgs.follows = "nixpkgs";
|
||||
spire.inputs.flakelight.follows = "flakelight";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
utils,
|
||||
spire,
|
||||
...
|
||||
}:
|
||||
utils.lib.eachSystem spire.systems (system: let
|
||||
utils.lib.eachSystem ["x86_64-linux" "i686-linux"] (system: let
|
||||
overlays = [spire.overlays.default];
|
||||
pkgs = (import nixpkgs) {
|
||||
inherit system overlays;
|
||||
};
|
||||
inherit (pkgs) lib;
|
||||
spEnv = pkgs.sourcepawn.buildEnv (with pkgs.sourcepawn.includes; [sourcemod curl]);
|
||||
in rec {
|
||||
in {
|
||||
packages = rec {
|
||||
mapdownloader = pkgs.buildSourcePawnScript {
|
||||
name = "mapdownloader";
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
default = mapdownloader;
|
||||
};
|
||||
devShells.default = pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [spEnv];
|
||||
nativeBuildInputs = [spEnv];
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue