23 lines
526 B
Nix
23 lines
526 B
Nix
{ ... }:
|
|
|
|
{
|
|
# override nixpkgs so zathura works (the base executable segfaults, the sandbox does not)
|
|
nixpkgs.overlays = [
|
|
(final: prev: {
|
|
zathura = prev.zathura.overrideAttrs (
|
|
finalAttls: prevAttrs: {
|
|
buildCommand = prevAttrs.buildCommand + ''
|
|
mv $out/bin/zathura $out/bin/zathura-no-sandbox
|
|
mv $out/bin/zathura-sandbox $out/bin/zathura
|
|
'';
|
|
}
|
|
);
|
|
}
|
|
)
|
|
];
|
|
|
|
home-manager.users.djai.programs.zathura = {
|
|
enable = true;
|
|
};
|
|
}
|