mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00

Fixes ``` CMake Warning at cmake/LinkPackage.cmake:23 (message): ZSTD not found; compiling OpenTTD without ZSTD is not recommended Call Stack (most recent call first): CMakeLists.txt:330 (link_package) ```
16 lines
372 B
Nix
16 lines
372 B
Nix
{ fetchFromGitHub, openttd, zstd, ... }:
|
|
|
|
openttd.overrideAttrs (oldAttrs: rec {
|
|
pname = "openttd-jgrpp";
|
|
version = "0.47.1";
|
|
|
|
src = fetchFromGitHub rec {
|
|
owner = "JGRennison";
|
|
repo = "OpenTTD-patches";
|
|
rev = "jgrpp-${version}";
|
|
hash = "sha256-AMd2KXy/ODByeV9CkEd51KbE/+fZ8Us3WzsWCnn7nh0=";
|
|
};
|
|
|
|
buildInputs = oldAttrs.buildInputs ++ [ zstd ];
|
|
})
|