mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
topgrade: mark as broken on darwin
This commit is contained in:
parent
9b2e60ec0a
commit
282320a780
@ -1,4 +1,11 @@
|
||||
{ stdenv, lib, fetchFromGitHub, rustPlatform, Foundation, installShellFiles }:
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, Cocoa
|
||||
, Foundation
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "topgrade";
|
||||
@ -13,7 +20,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "sha256-e5QJw5yY+ZkijqoqRauA5ncvLWiRlalYZCwSG5U7uDk=";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Foundation;
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Cocoa Foundation ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
@ -26,5 +33,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/r-darwish/topgrade";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ Br1ght0ne hugoreeves SuperSandro2000 ];
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
@ -10851,7 +10851,7 @@ with pkgs;
|
||||
toml2nix = (callPackage ../tools/toml2nix { }).toml2nix { };
|
||||
|
||||
topgrade = callPackage ../tools/misc/topgrade {
|
||||
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa Foundation;
|
||||
};
|
||||
|
||||
top-git = callPackage ../applications/version-management/git-and-tools/topgit { };
|
||||
|
Loading…
Reference in New Issue
Block a user