Re-add bw-cli for darwin which I accidentally messed up

This commit is contained in:
Martin Larsson 2025-06-03 11:41:09 +02:00
parent f665e34909
commit 97d3dbbf41
2 changed files with 9 additions and 0 deletions

View file

@ -69,6 +69,14 @@
config = { config = {
allowUnfree = true; 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 = makeSystemConfig =

View file

@ -17,6 +17,7 @@ in
packages = with pkgs; [ packages = with pkgs; [
gawk gawk
discord discord
bitwarden-cli
]; ];
file = utils.mk_symlinks { inherit config dotfiles; }; file = utils.mk_symlinks { inherit config dotfiles; };
}; };