3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/qt-5/5.9/qttools/default.nix
2017-08-21 06:51:31 -05:00

17 lines
417 B
Nix

{ stdenv, qtSubmodule, copyPathsToStore, qtbase }:
with stdenv.lib;
qtSubmodule {
name = "qttools";
qtInputs = [ qtbase ];
outputs = [ "out" "dev" "bin" ];
patches = copyPathsToStore (readPathsFromFile ./. ./series);
# qmake moves all binaries to $dev in preFixup
postFixup = ''
moveToOutput "bin/qdbus" "$bin"
moveToOutput "bin/qdbusviewer" "$bin"
moveToOutput "bin/qtpaths" "$bin"
'';
}