mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49: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
|
# cailbre is obnoxious about opening HTML
|
||||||
_: prev: {
|
final: prev: {
|
||||||
calibre = prev.calibre.overrideAttrs (oldAttrs: {
|
calibre = final.symlinkJoin {
|
||||||
postInstall = ''
|
name = "calibre";
|
||||||
|
paths = [prev.calibre];
|
||||||
|
buildInputs = [final.makeWrapper];
|
||||||
|
postBuild = ''
|
||||||
rm -r $out/share/mime
|
rm -r $out/share/mime
|
||||||
'';
|
'';
|
||||||
});
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue