mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-26 14:00:51 +00:00
nix: use packaged builds of foreign dependencies
Speeds up the build and reduces the size of the resulting package.
This commit is contained in:
parent
f546899252
commit
cfadc50cb2
1 changed files with 4 additions and 2 deletions
|
@ -56,12 +56,14 @@
|
|||
makeWrapper
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = with pkgs; [ openssl dbus sqlite ]
|
||||
buildInputs = with pkgs; [ openssl dbus sqlite zstd libgit2 libssh2 ]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
libiconv
|
||||
];
|
||||
];
|
||||
ZSTD_SYS_USE_PKG_CONFIG = "1";
|
||||
LIBSSH2_SYS_USE_PKG_CONFIG = "1";
|
||||
postInstall = ''
|
||||
$out/bin/jj util mangen > ./jj.1
|
||||
installManPage ./jj.1
|
||||
|
|
Loading…
Reference in a new issue