From b873f5bd623ae1064a5c0c7c4edb374abf84d409 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 29 Aug 2015 17:47:49 -0500 Subject: [PATCH] Add qtEnv --- pkgs/development/libraries/qt-5/qt-env.nix | 31 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/libraries/qt-5/qt-env.nix diff --git a/pkgs/development/libraries/qt-5/qt-env.nix b/pkgs/development/libraries/qt-5/qt-env.nix new file mode 100644 index 000000000000..01ddbf314282 --- /dev/null +++ b/pkgs/development/libraries/qt-5/qt-env.nix @@ -0,0 +1,31 @@ +{ runCommand, lndir }: + +{ paths, qtbase }: + +runCommand "qt-env" { inherit paths qtbase; } '' + +mkdir -p "$out/bin" "$out/mkspecs" "$out/include" "$out/lib" "$out/share" + +cp "$qtbase/bin/qmake" "$out/bin" +cat >"$out/bin/qt.conf" <