forked from mirrors/nixpkgs
Merge pull request #108761 from charvp/fix/zeroad-build
This commit is contained in:
commit
8008ebae20
|
@ -1,14 +1,14 @@
|
|||
{ wxGTK, newScope }:
|
||||
|
||||
{ wxGTK, stdenv, newScope }:
|
||||
let
|
||||
callPackage = newScope self;
|
||||
|
||||
self = {
|
||||
zeroad-unwrapped = callPackage ./game.nix { inherit wxGTK; };
|
||||
zeroad-unwrapped = callPackage ./game.nix { inherit wxGTK stdenv; };
|
||||
|
||||
zeroad-data = callPackage ./data.nix { };
|
||||
zeroad-data = callPackage ./data.nix { inherit stdenv; };
|
||||
|
||||
zeroad = callPackage ./wrapper.nix { };
|
||||
};
|
||||
|
||||
in self
|
||||
in
|
||||
self
|
||||
|
|
|
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||
# Workaround invalid pkg-config name for mozjs
|
||||
mkdir pkg-config
|
||||
ln -s ${spidermonkey_38}/lib/pkgconfig/* pkg-config/mozjs-38.pc
|
||||
PKG_CONFIG_PATH="$PWD/pkgconfig:$PKG_CONFIG_PATH"
|
||||
PKG_CONFIG_PATH="$PWD/pkg-config:$PKG_CONFIG_PATH"
|
||||
|
||||
# Update Makefiles
|
||||
pushd build/workspaces
|
||||
|
|
|
@ -27097,6 +27097,7 @@ in
|
|||
|
||||
zeroadPackages = dontRecurseIntoAttrs (callPackage ../games/0ad {
|
||||
wxGTK = wxGTK30;
|
||||
stdenv = gcc9Stdenv;
|
||||
});
|
||||
|
||||
zeroad = zeroadPackages.zeroad;
|
||||
|
|
Loading…
Reference in a new issue