mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
Merge pull request #311411 from NorfairKing/ncurses-static
ncurses: Build standard terminfo dirs into static ncurses
This commit is contained in:
commit
ce7eb01d6a
|
@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
++ lib.optionals stdenv.hostPlatform.isWindows [
|
||||
"--enable-sp-funcs"
|
||||
"--enable-term-driver"
|
||||
] ++ lib.optionals (stdenv.hostPlatform.isUnix && stdenv.hostPlatform.isStatic) [
|
||||
] ++ lib.optionals (stdenv.hostPlatform.isUnix && enableStatic) [
|
||||
# For static binaries, the point is to have a standalone binary with
|
||||
# minimum dependencies. So here we make sure that binaries using this
|
||||
# package won't depend on a terminfo database located in the Nix store.
|
||||
|
|
Loading…
Reference in a new issue