diff options
author | Elian Doran <contact@eliandoran.me> | 2024-05-19 10:51:33 +0300 |
---|---|---|
committer | Elian Doran <contact@eliandoran.me> | 2024-05-19 10:51:33 +0300 |
commit | d07b19dbbd3067a899fad6b9a96e24f2ca0ec42a (patch) | |
tree | 024989cd580b36faf4e80870fb326ecf91092b8b | |
parent | 57c78dc471ee9191c68c3937d96fe74004f3f2f2 (diff) |
moonfire-nvr: fix build on darwin
-rw-r--r-- | pkgs/misc/moonfire-nvr/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/misc/moonfire-nvr/default.nix b/pkgs/misc/moonfire-nvr/default.nix index 0946161ce52fd..d6a994ac3e684 100644 --- a/pkgs/misc/moonfire-nvr/default.nix +++ b/pkgs/misc/moonfire-nvr/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , rustPlatform , buildNpmPackage , fetchFromGitHub @@ -7,6 +8,7 @@ , sqlite , testers , moonfire-nvr +, darwin }: let @@ -52,7 +54,9 @@ in rustPlatform.buildRustPackage { buildInputs = [ ncurses sqlite - ]; + ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ + Security + ]); postInstall = '' mkdir -p $out/lib/ui |