mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 22:57:42 +03:00
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
|
let
|
||||||
callPackage = newScope self;
|
callPackage = newScope self;
|
||||||
|
|
||||||
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 { };
|
zeroad = callPackage ./wrapper.nix { };
|
||||||
};
|
};
|
||||||
|
|
||||||
in self
|
in
|
||||||
|
self
|
||||||
|
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||||||
# Workaround invalid pkg-config name for mozjs
|
# Workaround invalid pkg-config name for mozjs
|
||||||
mkdir pkg-config
|
mkdir pkg-config
|
||||||
ln -s ${spidermonkey_38}/lib/pkgconfig/* pkg-config/mozjs-38.pc
|
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
|
# Update Makefiles
|
||||||
pushd build/workspaces
|
pushd build/workspaces
|
||||||
|
@ -27097,6 +27097,7 @@ in
|
|||||||
|
|
||||||
zeroadPackages = dontRecurseIntoAttrs (callPackage ../games/0ad {
|
zeroadPackages = dontRecurseIntoAttrs (callPackage ../games/0ad {
|
||||||
wxGTK = wxGTK30;
|
wxGTK = wxGTK30;
|
||||||
|
stdenv = gcc9Stdenv;
|
||||||
});
|
});
|
||||||
|
|
||||||
zeroad = zeroadPackages.zeroad;
|
zeroad = zeroadPackages.zeroad;
|
||||||
|
Loading…
Reference in New Issue
Block a user