diff --git a/pkgs/development/interpreters/duktape/default.nix b/pkgs/development/interpreters/duktape/default.nix index c54a9d204cb..3cdc89fb3fd 100644 --- a/pkgs/development/interpreters/duktape/default.nix +++ b/pkgs/development/interpreters/duktape/default.nix @@ -16,7 +16,8 @@ stdenv.mkDerivation rec { install -d $out/bin install -m755 duk $out/bin/ install -d $out/lib - install -m755 libduktape* $out/lib/ + install -d $out/include + make -f Makefile.sharedlibrary install INSTALL_PREFIX=$out ''; enableParallelBuilding = true;