Compare commits
4 Commits
wip-emulat
...
wip-emulat
Author | SHA1 | Date | |
---|---|---|---|
d86be97ced | |||
44388b132a | |||
cd6b112d33 | |||
8eb6be863a |
@@ -718,7 +718,11 @@ in {
|
||||
};
|
||||
koreader = (prev.koreader.override {
|
||||
# fixes runtime error: luajit: ./ffi/util.lua:757: attempt to call field 'pack' (a nil value)
|
||||
inherit (emulated) luajit;
|
||||
# inherit (emulated) luajit;
|
||||
luajit = final.luajit.override {
|
||||
inherit (emulated) stdenv;
|
||||
buildPackages.stdenv = emulated.stdenv; # it uses buildPackages.stdenv for HOST_CC
|
||||
};
|
||||
}).overrideAttrs (upstream: {
|
||||
nativeBuildInputs = upstream.nativeBuildInputs ++ [
|
||||
final.autoPatchelfHook
|
||||
@@ -726,7 +730,11 @@ in {
|
||||
});
|
||||
koreader-from-src = prev.koreader-from-src.override {
|
||||
# fixes runtime error: luajit: ./ffi/util.lua:757: attempt to call field 'pack' (a nil value)
|
||||
inherit (emulated) luajit;
|
||||
# inherit (emulated) luajit;
|
||||
luajit = final.luajit.override {
|
||||
inherit (emulated) stdenv;
|
||||
buildPackages.stdenv = emulated.stdenv; # it uses buildPackages.stdenv for HOST_CC
|
||||
};
|
||||
};
|
||||
# libgweather = rmNativeInputs [ final.glib ] (prev.libgweather.override {
|
||||
# # alternative to emulating python3 is to specify it in `buildInputs` instead of `nativeBuildInputs` (upstream),
|
||||
|
Reference in New Issue
Block a user