On 23 January 2017 at 03:56, Thomas Tuegel <[email protected]> wrote: > On Sun, Jan 22, 2017 at 1:41 PM, Bjørn Forsman <[email protected]> > wrote: >> It doesn't work for me: >> >> $ nix-shell --pure -p qt5.qtbase -p qt5.qmakeHook --run qmake >> Could not find qmake configuration file linux-g++. >> Error processing project file: /home/bfo/test.pro >> >> Does it work for you? > > No, but the following does: > > $ nix-shell --pure -p qt5.qtbase -p qt5.qmakeHook --run "runHook > preConfigure; qmake"
Thanks! Now it works. > Generally, one needs to run all the preceding phases, even in nix-shell. That's unfortunate. I mean, it's surprising to me that qmake won't work in a nix-shell unless running some hook first. It was my understanding that tools typically work in nix-shell simply because of the environment variables that are (automatically) set. Best regards, Bjørn Forsman _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
