nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

butler: fix darwin build

authored by

Stanisław Pitucha and committed by
Stanisław Pitucha
d4965f6e 61dcd8ab

+19 -2
+16 -1
pkgs/games/itch/butler.nix
··· 1 1 { lib 2 2 , buildGoModule 3 3 , fetchFromGitHub 4 + , stdenv 5 + , Cocoa 6 + , fetchpatch 4 7 }: 5 8 6 9 buildGoModule rec { ··· 17 14 sha256 = "sha256-vciSmXR3wI3KcnC+Uz36AgI/WUfztA05MJv1InuOjJM="; 18 15 }; 19 16 17 + buildInputs = lib.optionals stdenv.isDarwin [ 18 + Cocoa 19 + ]; 20 + 21 + patches = [ 22 + # update x/sys dependency for darwin build https://github.com/itchio/butler/pull/245 23 + (fetchpatch { 24 + url = "https://github.com/itchio/butler/pull/245/commits/ef651d373e3061fda9692dd44ae0f7ce215e9655.patch"; 25 + hash = "sha256-rZZn/OGiv3mRyy89uORyJ99zWN21kZCCQAlFvSKxlPU="; 26 + }) 27 + ]; 28 + 20 29 proxyVendor = true; 21 30 22 - vendorSha256 = "sha256-EIl0ZFDKbZopUR22hp5a2vRUu0O1h1O953NrtoNa2x8="; 31 + vendorSha256 = "sha256-CtBwc5mcgLvl2Bvg5gI+ULJMQEEibx1aN3IpmRNUtwE="; 23 32 24 33 doCheck = false; 25 34
+3 -1
pkgs/top-level/all-packages.nix
··· 1285 1285 1286 1286 asleap = callPackage ../tools/networking/asleap { }; 1287 1287 1288 - butler = callPackage ../games/itch/butler.nix { }; 1288 + butler = callPackage ../games/itch/butler.nix { 1289 + inherit (darwin.apple_sdk.frameworks) Cocoa; 1290 + }; 1289 1291 1290 1292 cf-vault = callPackage ../tools/admin/cf-vault { }; 1291 1293