Files
where-are-my-friends/flake.nix
2026-02-12 12:57:03 +09:00

26 lines
623 B
Nix

{
description = "RCON -> Bluemap player position API converter";
inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) lib;
in {
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
clang
];
};
packages.${system} = let
src = lib.cleanSource ./.;
in {
default = self.packages.${system}.wamf;
wamf = pkgs.callPackage ./nix/package.nix { inherit src; };
};
};
}