mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
emacsPackages.elisp-ffi: install the compiled native binary
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
melpaBuild {
|
||||
pname = "elisp-ffi";
|
||||
ename = "ffi";
|
||||
version = "1.0.0-unstable-2017-05-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@@ -18,12 +19,13 @@ melpaBuild {
|
||||
hash = "sha256-StOezQEnNTjRmjY02ub5FRh59aL6gWfw+qgboz0wF94=";
|
||||
};
|
||||
|
||||
files = ''(:defaults "ffi-glue")'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ libffi ];
|
||||
|
||||
preBuild = ''
|
||||
mv ffi.el elisp-ffi.el
|
||||
make CXX=$CXX
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user