diff --git a/pkgs/additional/koreader-from-src/default.nix b/pkgs/additional/koreader-from-src/default.nix index 4ab7e6a2..c3e98bea 100644 --- a/pkgs/additional/koreader-from-src/default.nix +++ b/pkgs/additional/koreader-from-src/default.nix @@ -365,41 +365,6 @@ stdenv.mkDerivation rec { --replace-quiet 'ffi.load("libs/' 'ffi.load("' done - # reduce deps so that Make doesn't try to rebuild all the thirdparty libraries. - # could probably do this better, like by changing the atime of all of thirdparty/ to match /nix/store products - # substituteInPlace base/Makefile.third --replace-warn '/*.*' '/' - substituteInPlace base/Makefile.third \ - --replace-warn '$(THIRDPARTY_DIR)/curl/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/czmq/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/djvulibre/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/dropbear/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/freetype2/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/fribidi/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/gettext/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/giflib/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/glib/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/harfbuzz/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/libiconv/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/libjpeg-turbo/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/libpng/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/libunibreak/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/libwebp/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/lpeg/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/lua-rapidjson/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/luajit/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/luasec/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/luasocket/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/openssh/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/openssl/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/sdcv/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/sqlite/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/tar/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/utf8proc/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/zlib/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/libzmq/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/zstd/*.*' "" \ - --replace-warn '$(THIRDPARTY_DIR)/zsync2/*.*' "" \ - # lots of places in Makefile.third (incorrectly) assume lib paths are relative to CURDIR, # so link /nix into CURDIR to allow them to work anyway ln -s /nix base/nix