diff --git a/pkgs/by-name/fo/forgejo-cli/package.nix b/pkgs/by-name/fo/forgejo-cli/package.nix index aa21a9e937dd6..2d9d5c7632a8b 100644 --- a/pkgs/by-name/fo/forgejo-cli/package.nix +++ b/pkgs/by-name/fo/forgejo-cli/package.nix @@ -7,8 +7,6 @@ oniguruma, openssl, zlib, - stdenv, - darwin, }: let version = "0.2.0"; @@ -29,23 +27,16 @@ rustPlatform.buildRustPackage { nativeBuildInputs = [ pkg-config ]; - buildInputs = - [ - libgit2 - oniguruma - openssl - zlib - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin ( - with darwin.apple_sdk.frameworks; - [ - Security - SystemConfiguration - ] - ); + buildInputs = [ + libgit2 + oniguruma + openssl + zlib + ]; env = { RUSTONIG_SYSTEM_LIBONIG = true; + BUILD_TYPE = "nixpkgs"; }; meta = {