diff options
author | Nikolay Korotkiy <sikmir@disroot.org> | 2023-11-26 07:40:33 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-26 07:40:33 +0400 |
commit | abd2811dbdaf5f9570b0867de2fada0d1520a33d (patch) | |
tree | 4f8974709eee3f14c69719154d9e3b9a261e593e /pkgs/tools | |
parent | 671a3f6916617fd37e74c830c5307602d5f7b002 (diff) | |
parent | f5b7885e0cd047f986c6d573102450ac7e0f6a65 (diff) |
Merge pull request #269892 from sveitser/zhf-rustic-darwin-fix-build
rustic-rs: fix build on darwin
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/backup/rustic-rs/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/tools/backup/rustic-rs/default.nix b/pkgs/tools/backup/rustic-rs/default.nix index ed4dc0eee42da..c6159a899b048 100644 --- a/pkgs/tools/backup/rustic-rs/default.nix +++ b/pkgs/tools/backup/rustic-rs/default.nix @@ -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 |