1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

ferium: fix Darwin build

This commit is contained in:
John Garcia 2024-04-09 12:00:18 +01:00
parent 4bab48ccc3
commit 275734e04c
2 changed files with 11 additions and 4 deletions

View file

@ -1,4 +1,11 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security, installShellFiles }: { lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
, SystemConfiguration
, installShellFiles
}:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "ferium"; pname = "ferium";
@ -8,10 +15,10 @@ rustPlatform.buildRustPackage rec {
owner = "gorilla-devs"; owner = "gorilla-devs";
repo = pname; repo = pname;
rev = "v${version}"; 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="; cargoHash = "sha256-5ClBS42hWw3ULEG1Qn+fiM6dvJ+xS4Dusy3BCj5Cvbg=";

View file

@ -36998,7 +36998,7 @@ with pkgs;
fairymax = callPackage ../games/fairymax { }; fairymax = callPackage ../games/fairymax { };
ferium = callPackage ../games/ferium { ferium = callPackage ../games/ferium {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
}; };
fheroes2 = callPackage ../games/fheroes2 { }; fheroes2 = callPackage ../games/fheroes2 { };