1
0
Fork 1
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:
Doron Behar 2024-05-30 00:52:36 +03:00 committed by GitHub
commit ce7eb01d6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optionals stdenv.hostPlatform.isWindows [ ++ lib.optionals stdenv.hostPlatform.isWindows [
"--enable-sp-funcs" "--enable-sp-funcs"
"--enable-term-driver" "--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 # For static binaries, the point is to have a standalone binary with
# minimum dependencies. So here we make sure that binaries using this # minimum dependencies. So here we make sure that binaries using this
# package won't depend on a terminfo database located in the Nix store. # package won't depend on a terminfo database located in the Nix store.