repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
graphene-hardened-malloc: 2024123000 -> 2025012700 (#378307)
[NixPkgs.git]
/
pkgs
/
development
/
libraries
/
qt-6
/
qt-env.nix
blob
113e57e3588bbd785370be99ec39bf956262eafb
1
{ buildEnv, qtbase }:
2
name: paths:
3
4
buildEnv {
5
inherit name;
6
paths = [ qtbase ] ++ paths;
7
8
pathsToLink = [
9
"/metatypes"
10
"/bin"
11
"/mkspecs"
12
"/include"
13
"/lib"
14
"/share"
15
"/libexec"
16
];
17
extraOutputsToInstall = [
18
"out"
19
"dev"
20
];
21
22
postBuild = ''
23
for f in qmake qmake6; do
24
rm "$out/bin/$f"
25
cp "${qtbase}/bin/$f" "$out/bin"
26
done
27
cat >"$out/bin/qt.conf" <<EOF
28
[Paths]
29
Prefix = $out
30
Plugins = ${qtbase.qtPluginPrefix}
31
Qml2Imports = ${qtbase.qtQmlPrefix}
32
EOF
33
'';
34
}