Unverified Commit cabe22bd authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #302811 from chewblacka/fix-ferium

ferium: fix Darwin build
parents e6136044 275734e0
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security, installShellFiles }:
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
, SystemConfiguration
, installShellFiles
}:

rustPlatform.buildRustPackage rec {
  pname = "ferium";
@@ -8,10 +15,10 @@ rustPlatform.buildRustPackage rec {
    owner = "gorilla-devs";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-tYRs6HfFTdUZqWal9pLZ0uUNCPr3+zQz5JV2ohOLIP8=";
    hash = "sha256-tYRs6HfFTdUZqWal9pLZ0uUNCPr3+zQz5JV2ohOLIP8=";
  };

  buildInputs = lib.optionals stdenv.isDarwin [ Security ];
  buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];

  cargoHash = "sha256-5ClBS42hWw3ULEG1Qn+fiM6dvJ+xS4Dusy3BCj5Cvbg=";

+1 −1
Original line number Diff line number Diff line
@@ -37002,7 +37002,7 @@ with pkgs;
  fairymax = callPackage ../games/fairymax { };
  ferium = callPackage ../games/ferium {
    inherit (darwin.apple_sdk.frameworks) Security;
    inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
  };
  fheroes2 = callPackage ../games/fheroes2 { };