battlenet-flake/flake.nix

32 lines
650 B
Nix
Raw Normal View History

2023-12-04 09:57:40 -06:00
{
inputs.nixpkgs.url = "github:nixos/nixpkgs?rev=91050ea1e57e50388fa87a3302ba12d188ef723a";
outputs = {
self,
nixpkgs,
...
}: let
# inherit (self) outputs;
systems = [
"aarch64-linux"
"x86_64-linux"
];
forAllSystems = nixpkgs.lib.genAttrs systems;
in {
2023-12-04 10:00:15 -06:00
devShells = forAllSystems (system: let
2023-12-04 09:57:40 -06:00
pkgs = nixpkgs.legacyPackages.${system};
in {
2023-12-04 10:00:15 -06:00
default = pkgs.mkShell {
buildInputs = with pkgs; [
(wineWowPackages.full.override {
wineRelease = "staging";
mingwSupport = true;
})
winetricks
];
};
2023-12-04 09:57:40 -06:00
});
};
}