Merge pull request #307842 from NickCao/ploticus
ploticus: fix cross compilation
This commit is contained in:
commit
de85574619
@ -50,7 +50,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
preBuild = ''
|
preBuild = ''
|
||||||
cd src
|
cd src
|
||||||
'';
|
'';
|
||||||
makeFlags = [ "CC=cc" ];
|
|
||||||
|
makeFlags = [ "CC:=$(CC)" ];
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
@ -69,7 +70,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
prefab = runCommand "ploticus-prefab-test" {
|
prefab = runCommand "ploticus-prefab-test" {
|
||||||
buildInputs = [ finalAttrs.finalPackage ];
|
nativeBuildInputs = [ finalAttrs.finalPackage ];
|
||||||
} ''
|
} ''
|
||||||
# trivial test to see if the prefab path munging works
|
# trivial test to see if the prefab path munging works
|
||||||
mkdir $out/
|
mkdir $out/
|
||||||
|
Loading…
Reference in New Issue
Block a user