rustic-rs: fix build on darwin
- Add `apple_sdk.SystemConfiguration` dependency
This commit is contained in:
parent
7cbcc1fdd4
commit
f5b7885e0c
@ -1,4 +1,12 @@
|
||||
{ lib, fetchFromGitHub, rustPlatform, stdenv, Security, installShellFiles, nix-update-script }:
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, Security
|
||||
, SystemConfiguration
|
||||
, installShellFiles
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rustic-rs";
|
||||
@ -15,7 +23,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
|
||||
|
||||
postInstall = ''
|
||||
for shell in {ba,fi,z}sh; do
|
||||
|
@ -27285,7 +27285,9 @@ with pkgs;
|
||||
|
||||
roon-server = callPackage ../servers/roon-server { };
|
||||
|
||||
rustic-rs = callPackage ../tools/backup/rustic-rs { inherit (darwin) Security; };
|
||||
rustic-rs = callPackage ../tools/backup/rustic-rs {
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
|
||||
supervise = callPackage ../tools/system/supervise { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user