mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
topgrade: fix, add darwin Foundation framework (#77700)
topgrade: fix, add darwin Foundation framework
This commit is contained in:
commit
2628f20267
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform }:
|
||||
{ stdenv, lib, fetchFromGitHub, rustPlatform, Foundation }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "topgrade";
|
||||
@ -13,11 +13,13 @@ 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;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ filalex77 ];
|
||||
maintainers = with maintainers; [ filalex77 hugoreeves ];
|
||||
};
|
||||
}
|
||||
|
@ -6798,7 +6798,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