mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
refinery-cli: fix build on darwin
This commit is contained in:
parent
f99e9325ad
commit
b7c56ae8e9
@ -1,4 +1,4 @@
|
||||
{ fetchCrate, lib, openssl, pkg-config, rustPlatform }:
|
||||
{ fetchCrate, lib, stdenv, openssl, pkg-config, rustPlatform, darwin }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "refinery-cli";
|
||||
@ -14,7 +14,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Run migrations for the Refinery ORM for Rust via the CLI";
|
||||
|
Loading…
Reference in New Issue
Block a user