fix(nix): ensure agenix-plugin-yubikey gets deps

This commit is contained in:
Price Hiller 2024-05-10 02:41:46 -05:00
parent b8ae03b3af
commit af0d1b13c1
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
2 changed files with 11 additions and 1 deletions

View File

@ -67,6 +67,8 @@
overlays = [
inputs.agenix.overlays.default
inputs.neovim-nightly-overlay.overlay
self.overlays.modifications
self.overlays.additions
];
}
)
@ -113,8 +115,8 @@
default = pkgs.mkShell {
packages = with pkgs; [
age
agenix
age-plugin-yubikey
pkgs.agenix
nixos-rebuild
nixos-install-tools
pkgs.deploy-rs

View File

@ -13,5 +13,13 @@
opensnitch-ui = prev.opensnitch-ui.overrideAttrs (oldAttrs: {
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ prev.python311Packages.qt-material ];
});
age-plugin-yubikey = prev.age-plugin-yubikey.overrideAttrs (oldAttrs: {
nativeBuildInputs = oldAttrs.nativeBuildInputs or [ ] ++ [ final.makeWrapper ];
postInstall =
oldAttrs.postInstall or ""
+ ''
wrapProgram $out/bin/age-plugin-yubikey --prefix LD_LIBRARY_PATH : ${final.pcsclite.lib}/lib
'';
});
};
}