Change:
After running , cool-retro-term doesn't seem to work. When attempting to run, it outputs errors and hangs: This is on the current nixos-unstable channel:
Confirmed, already on 15.09 and persist on current master. /cc for latest changes and maintainer
That error message indicates it has missing dependencies; it is at least missing and . Unfortunately, Qt defers detection of dependencies until runtime whenever it can, instead of complaining during the build that these dependencies are missing.
Yeah, I've been looking into this a bit and and to buildInputs. The error message is now:
Although it's in the build inputs, it doesn't look like is being to the environment: returns no results.
isn't installing its QML files into the correct prefix. QML stuff should go into and QML2 stuff should go into , but puts everything into . Since the files are in the wrong location, they aren't picked up by .
Can we just tell that there's some QML stuff elsewhere? It's probably not the cleanest solution, but it would allow the package to work.
It would be better to fix . The Nix expression specifically patches the package to set the wrong QML path; I think if you simply remove that, it would work.
I tried removing the whole block: cool-retro-term gives the same error (), however.
Yeah, that's because there are more serious problems with how is packaged. You are the maintainer of , can you help us out here? I've taken a look at the package and I can't get it to respect Qt's QML import paths during installation.
Yeah, I will look into it.
Just got the same error:
I can confirm this issue on Ubuntu. Same problem here. installed using (v 1.1.1, rev126, stable) on Ubuntu 18.04.2 LTS
forgive me if I'm being dumb, but how does using on Ubuntu relate to NixPkgs?
Cool-retro-term simply "fails to run" due to this unresolved dependencies on many linux distributions. I just confirmed another one. I don't understand, why this issue is closed now, that problem is not fixed - especially snaps shlould be able to handle QML dependencies somehow ,
In any case, I confirm this failure on nixpkgs master:
I don't see any changes in nixpkgs since this ticket was closed, but works on my nixos box.
QML packages rely on so they cannot be used without being installed to a profile.
Right, I apparently didn't know that at the time (or didn't recall it).
Try this....
I have the same problem. how to fix? user cool-retro-term QQmlApplicationEngine failed to load component Type TerminalContainer unavailable Type PreprocessedTerminal unavailable module "QMLTermWidget" is not installed Cannot load QML interface jre

Discussion:
<del> { stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget }: </del> <ins> { stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget, qtquickcontrols, qtgraphicaleffects }: </ins> stdenv.mkDerivation rec { version = "1.0.0";

sed -i -e '/qmltermwidget/d' cool-retro-term.pro ''; <del> buildInputs = [ qtbase qtquick1 qmltermwidget ]; </del> <ins> buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ]; </ins> nativeBuildInputs = [ makeQtWrapper ]; configurePhase = "qmake PREFIX=$out";

patchPhase = '' substituteInPlace qmltermwidget.pro  <del> --replace '$$[QT_INSTALL_QML]' "/lib/qml/" </del> <ins> --replace '$$[QT_INSTALL_QML]' "/lib/qt5/qml/" </ins> ''; configurePhase = "qmake PREFIX=$out";