emacs.pkgs.melpaStablepackages.emacsql: Add sqlite as dependency
This commit is contained in:
parent
7d0ed7f2e5
commit
fba2ff4c5a
1 changed files with 17 additions and 0 deletions
|
@ -177,6 +177,23 @@ let
|
||||||
|
|
||||||
dune = dontConfigure super.dune;
|
dune = dontConfigure super.dune;
|
||||||
|
|
||||||
|
emacsql = super.emacsql.overrideAttrs (old: {
|
||||||
|
buildInputs = old.buildInputs ++ [ pkgs.sqlite ];
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
cd source/sqlite
|
||||||
|
make
|
||||||
|
cd -
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = (old.postInstall or "") + "\n" + ''
|
||||||
|
install -m=755 -D source/sqlite/emacsql-sqlite \
|
||||||
|
$out/share/emacs/site-lisp/elpa/emacsql-${old.version}/sqlite/emacsql-sqlite
|
||||||
|
'';
|
||||||
|
|
||||||
|
stripDebugList = [ "share" ];
|
||||||
|
});
|
||||||
|
|
||||||
emacsql-sqlite = super.emacsql-sqlite.overrideAttrs (old: {
|
emacsql-sqlite = super.emacsql-sqlite.overrideAttrs (old: {
|
||||||
buildInputs = old.buildInputs ++ [ pkgs.sqlite ];
|
buildInputs = old.buildInputs ++ [ pkgs.sqlite ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue