Merge pull request #123479 from stephank/fix-pactorio-darwin

pactorio: fix darwin build

authored by

Sandro and committed by
GitHub
10d2be7d ab040108

+5 -2
+2 -1
pkgs/development/tools/pactorio/default.nix
··· 1 - { fetchFromGitHub, installShellFiles, lib, rustPlatform }: 1 + { fetchFromGitHub, installShellFiles, lib, stdenv, rustPlatform, Security }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "pactorio"; ··· 14 14 cargoSha256 = "1m7bvi6i52xqvssjx5fr2dz25ny7hkmb8w8p23pczpdmpd2y0r7r"; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 + buildInputs = lib.optional stdenv.isDarwin Security; 17 18 18 19 preFixup = '' 19 20 completions=($releaseDir/build/pactorio-*/out/completions)
+3 -1
pkgs/top-level/all-packages.nix
··· 13452 13452 libiberty_static = libiberty.override { staticBuild = true; }; 13453 13453 }; 13454 13454 13455 - pactorio = callPackage ../development/tools/pactorio { }; 13455 + pactorio = callPackage ../development/tools/pactorio { 13456 + inherit (darwin.apple_sdk.frameworks) Security; 13457 + }; 13456 13458 13457 13459 pahole = callPackage ../development/tools/misc/pahole {}; 13458 13460