topgrade: fix, add darwin Foundation framework
This commit is contained in:
parent
ece829033b
commit
8bef4113ce
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, rustPlatform }:
|
{ stdenv, lib, fetchFromGitHub, rustPlatform, Foundation }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "topgrade";
|
pname = "topgrade";
|
||||||
@ -13,7 +13,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "1y85hl7xl60vsj3ivm6pyd6bvk39wqg25bqxfx00r9myha94iqmd";
|
cargoSha256 = "1y85hl7xl60vsj3ivm6pyd6bvk39wqg25bqxfx00r9myha94iqmd";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
buildInputs = lib.optional stdenv.isDarwin Foundation;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Upgrade all the things";
|
description = "Upgrade all the things";
|
||||||
homepage = "https://github.com/r-darwish/topgrade";
|
homepage = "https://github.com/r-darwish/topgrade";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
|
@ -6790,7 +6790,9 @@ in
|
|||||||
|
|
||||||
toml2nix = (callPackage ../tools/toml2nix { }).toml2nix { };
|
toml2nix = (callPackage ../tools/toml2nix { }).toml2nix { };
|
||||||
|
|
||||||
topgrade = callPackage ../tools/misc/topgrade { };
|
topgrade = callPackage ../tools/misc/topgrade {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||||
|
};
|
||||||
|
|
||||||
tor = callPackage ../tools/security/tor {
|
tor = callPackage ../tools/security/tor {
|
||||||
# remove this, when libevent's openssl is upgraded to 1_1_0 or newer.
|
# remove this, when libevent's openssl is upgraded to 1_1_0 or newer.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user