mirror of
https://github.com/lelgenio/dzgui-nix.git
synced 2024-11-09 17:31:40 -03:00
25 lines
671 B
Nix
25 lines
671 B
Nix
|
{
|
||
|
description = "DayZ TUI/GUI server browser";
|
||
|
inputs = {
|
||
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||
|
dzgui = {
|
||
|
url = "github:aclist/dztui";
|
||
|
flake = false;
|
||
|
};
|
||
|
};
|
||
|
outputs = { self, nixpkgs, dzgui, ... }:
|
||
|
let
|
||
|
# DayZ only runs on x86_64 systems
|
||
|
system = "x86_64-linux";
|
||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||
|
in with pkgs; {
|
||
|
packages.${system} = {
|
||
|
default = self.packages.${system}.dzgui;
|
||
|
dzgui = (pkgs.callPackage ./. { }).overrideAttrs (_: { src = dzgui; });
|
||
|
};
|
||
|
|
||
|
devShells.${system}.default =
|
||
|
mkShell { buildInputs = self.packages.${system}.default.runtimeDeps; };
|
||
|
};
|
||
|
}
|