mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
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 {
|
||||
pname = "topgrade";
|
||||
@ -13,7 +13,9 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "1y85hl7xl60vsj3ivm6pyd6bvk39wqg25bqxfx00r9myha94iqmd";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
buildInputs = lib.optional stdenv.isDarwin Foundation;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Upgrade all the things";
|
||||
homepage = "https://github.com/r-darwish/topgrade";
|
||||
license = licenses.gpl3;
|
||||
|
@ -6790,7 +6790,9 @@ in
|
||||
|
||||
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 {
|
||||
# remove this, when libevent's openssl is upgraded to 1_1_0 or newer.
|
||||
|
Loading…
Reference in New Issue
Block a user