Merge pull request #148051 from fgaz/warzone2100/darwin
This commit is contained in:
commit
633c2d3866
1 changed files with 6 additions and 2 deletions
|
@ -60,6 +60,7 @@ stdenv.mkDerivation rec {
|
|||
freetype
|
||||
harfbuzz
|
||||
sqlite
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
];
|
||||
|
@ -93,7 +94,7 @@ stdenv.mkDerivation rec {
|
|||
#
|
||||
# Alternatively, we could have set CMAKE_INSTALL_BINDIR to "bin".
|
||||
"-DCMAKE_INSTALL_DATAROOTDIR=${placeholder "out"}/share"
|
||||
];
|
||||
] ++ lib.optional stdenv.isDarwin "-P../configure_mac.cmake";
|
||||
|
||||
postInstall = lib.optionalString withVideos ''
|
||||
cp ${sequences_src} $out/share/warzone2100/sequences.wz
|
||||
|
@ -115,6 +116,9 @@ stdenv.mkDerivation rec {
|
|||
homepage = "http://wz2100.net";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ astsmtl fgaz ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.all;
|
||||
# configure_mac.cmake tries to download stuff
|
||||
# https://github.com/Warzone2100/warzone2100/blob/master/macosx/README.md
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue