mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Email, nvim->vim, torrenting fixes, musical rice
This commit is contained in:
parent
7d899adde6
commit
f16cf48dd6
18 changed files with 328 additions and 47 deletions
26
pkgs/notmuch/default.nix
Normal file
26
pkgs/notmuch/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, notmuch, coreutils }@args: let
|
||||
notmuch = args.notmuch.super or args.notmuch;
|
||||
drv = notmuch.override {
|
||||
withEmacs = false;
|
||||
};
|
||||
in drv.overrideAttrs (old: {
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
${old.postInstall or ""}
|
||||
make -C bindings/ruby exec_prefix=$out \
|
||||
SHELL=$SHELL \
|
||||
$makeFlags ''${makeFlagsArray+"''${makeFlagsArray[@]}"} \
|
||||
$installFlags ''${installFlagsArray+"''${installFlagsArray[@]}"} \
|
||||
install
|
||||
mv $out/lib/ruby/vendor_ruby/* $out/lib/ruby/
|
||||
rmdir $out/lib/ruby/vendor_ruby
|
||||
'';
|
||||
|
||||
meta = old.meta or {} // {
|
||||
broken = old.meta.broken or false || notmuch.stdenv.isDarwin;
|
||||
};
|
||||
passthru = old.passthru or {} // {
|
||||
super = notmuch;
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue