diff --git a/flake.nix b/flake.nix index e113a0e..d5ecce0 100644 --- a/flake.nix +++ b/flake.nix @@ -69,6 +69,14 @@ config = { allowUnfree = true; }; + overlays = lib.optionals (lib.strings.hasPrefix "aarch64-darwin" system) [ + (final: prev: { + bitwarden-cli = prev.bitwarden-cli.overrideAttrs (oldAttrs: { + nativeBuildInputs = (oldAttrs.nativeBuildInputs or [ ]) ++ [ prev.llvmPackages_18.stdenv.cc ]; + stdenv = prev.llvmPackages_18.stdenv; + }); + }) + ]; }; makeSystemConfig = diff --git a/nix/home/darwin.nix b/nix/home/darwin.nix index 7c634aa..bed8372 100644 --- a/nix/home/darwin.nix +++ b/nix/home/darwin.nix @@ -17,6 +17,7 @@ in packages = with pkgs; [ gawk discord + bitwarden-cli ]; file = utils.mk_symlinks { inherit config dotfiles; }; };