NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.68k stars 13.83k forks source link

krunner-pass build failure #59355

Closed seqizz closed 5 years ago

seqizz commented 5 years ago

Issue description

After switching to 19.03, krunner-pass failed to build

Steps to reproduce

nix-shell -p krunner-pass on 19.03, it is failing with:

[ 88%] Building CXX object CMakeFiles/krunner_pass.dir/pass.o
[100%] Linking CXX shared module krunner_pass.so
/nix/store/0y7jmqnj48ikjh37n3dl9kqw9hnn68nq-binutils-2.31.1/bin/ld: cannot find -lQt5::DBus
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/krunner_pass.dir/build.make:99: krunner_pass.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:175: CMakeFiles/krunner_pass.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
builder for '/nix/store/s8a7g0ijn2x50yi5vkkk236022iv1aa3-krunner-pass-1.3.0.drv' failed with exit code 2

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the results.

worldofpeace commented 5 years ago

Upstream issue here looks like the same problem

Needs a patch in the CMakeLists.txt probably.