mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
openttd-jgrpp: Add optional but recommended zstd dependency
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) ```
This commit is contained in:
parent
3d16e9db85
commit
6fc9e4b700
|
@ -1,4 +1,4 @@
|
|||
{ fetchFromGitHub, openttd, ... }:
|
||||
{ fetchFromGitHub, openttd, zstd, ... }:
|
||||
|
||||
openttd.overrideAttrs (oldAttrs: rec {
|
||||
pname = "openttd-jgrpp";
|
||||
|
@ -10,4 +10,6 @@ openttd.overrideAttrs (oldAttrs: rec {
|
|||
rev = "jgrpp-${version}";
|
||||
hash = "sha256-AMd2KXy/ODByeV9CkEd51KbE/+fZ8Us3WzsWCnn7nh0=";
|
||||
};
|
||||
|
||||
buildInputs = oldAttrs.buildInputs ++ [ zstd ];
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue