pkgsStatic.slang: fix build
This commit is contained in:
parent
7c43c4cc0a
commit
bdb22bce90
1 changed files with 7 additions and 0 deletions
|
@ -44,6 +44,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ ncurses ];
|
propagatedBuildInputs = [ ncurses ];
|
||||||
|
|
||||||
|
buildFlags = lib.optional stdenv.hostPlatform.isStatic "static";
|
||||||
|
installTargets = lib.optional stdenv.hostPlatform.isStatic "install-static";
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
makeFlagsArray+=(AR_CR="${stdenv.cc.targetPrefix}ar cr")
|
||||||
|
'';
|
||||||
|
|
||||||
# slang 2.3.2 does not support parallel building
|
# slang 2.3.2 does not support parallel building
|
||||||
enableParallelBuilding = false;
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue