mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +03:00
monolith: enable on darwin
This commit is contained in:
parent
8198d23ed7
commit
3a3cbfd12b
@ -3,6 +3,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, openssl
|
, openssl
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -18,10 +19,11 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "1plx9p265jcc6wg3bhcdk1f77md8ann08kkv3g2706d82kxy2c1i";
|
cargoSha256 = "1plx9p265jcc6wg3bhcdk1f77md8ann08kkv3g2706d82kxy2c1i";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ pkg-config ];
|
||||||
buildInputs = [ openssl ];
|
buildInputs = stdenv.lib.optionals stdenv.isLinux [ openssl ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
checkPhase = "cargo test -- --skip tests::cli";
|
checkFlagsArray = [ "--skip=tests::cli" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Bundle any web page into a single HTML file";
|
description = "Bundle any web page into a single HTML file";
|
||||||
|
@ -5264,7 +5264,9 @@ in
|
|||||||
|
|
||||||
monit = callPackage ../tools/system/monit { };
|
monit = callPackage ../tools/system/monit { };
|
||||||
|
|
||||||
monolith = callPackage ../tools/backup/monolith { };
|
monolith = callPackage ../tools/backup/monolith {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
moreutils = callPackage ../tools/misc/moreutils {
|
moreutils = callPackage ../tools/misc/moreutils {
|
||||||
docbook-xsl = docbook_xsl;
|
docbook-xsl = docbook_xsl;
|
||||||
|
Loading…
Reference in New Issue
Block a user