nixos-config/pkgs/factorio-headless/default.nix
2024-12-04 21:55:37 -03:00

11 lines
325 B
Nix

{ factorio-headless, pkgs }:
factorio-headless.overrideAttrs (_: rec {
version = "2.0.23";
src = pkgs.fetchurl {
name = "factorio_headless_x64-${version}.tar.xz";
url = "https://www.factorio.com/get-download/${version}/headless/linux64";
hash = "sha256-6Bn8mtbfBhv51L/8kZiN0Y0OOYLIscIsBSXXi9o+8hY=";
};
})