autocorrect: add missing frameworks on darwin
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security, SystemConfiguration }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "autocorrect";
|
||||
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
|
||||
cp ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
|
||||
|
||||
cargoBuildFlags = [ "-p" "autocorrect-cli" ];
|
||||
cargoTestFlags = [ "-p" "autocorrect-cli" ];
|
||||
|
||||
@@ -15543,7 +15543,7 @@ with pkgs;
|
||||
asciigraph = callPackage ../tools/text/asciigraph { };
|
||||
|
||||
autocorrect = callPackage ../tools/text/autocorrect {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
|
||||
as31 = callPackage ../development/compilers/as31 { };
|
||||
|
||||
Reference in New Issue
Block a user