mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Vim, XDG, notmuch changes.
This commit is contained in:
parent
6b566d6b94
commit
a15204bf40
6 changed files with 51 additions and 52 deletions
|
|
@ -1,26 +1,23 @@
|
|||
{ lib, notmuch, coreutils }@args: let
|
||||
notmuch = args.notmuch.super or args.notmuch;
|
||||
drv = notmuch.override {
|
||||
withEmacs = false;
|
||||
};
|
||||
in drv.overrideAttrs (old: {
|
||||
doCheck = false;
|
||||
{ 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
|
||||
'';
|
||||
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;
|
||||
};
|
||||
})
|
||||
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