mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
overlays/calibre-no-mime: rewrite with symlinkJoin
This commit is contained in:
parent
57dd5ac4a9
commit
4c4ae20ee5
1 changed files with 7 additions and 4 deletions
|
|
@ -1,8 +1,11 @@
|
|||
# cailbre is obnoxious about opening HTML
|
||||
_: prev: {
|
||||
calibre = prev.calibre.overrideAttrs (oldAttrs: {
|
||||
postInstall = ''
|
||||
final: prev: {
|
||||
calibre = final.symlinkJoin {
|
||||
name = "calibre";
|
||||
paths = [prev.calibre];
|
||||
buildInputs = [final.makeWrapper];
|
||||
postBuild = ''
|
||||
rm -r $out/share/mime
|
||||
'';
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue