1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/compilers
Austin Seipp 3d36ea6a05 nextpnr: with GUI support, be sure to set QT_PLUGIN_PATH
This is to help QT find all the necessary plugin libraries at startup
time, otherwise it freaks out when run out of 'nix-env' environment or
run directly, e.g.  `./result/bin/nextpnr-ice40 --gui`. The reason for
this is that none of the traditional paths it looks for are available.
The workarounds for this are to otherwise:

  - Install e.g. into environment.systemPackages (presumably it will
then pick up QT libraries in /run/current-system/sw/lib/qt-*)

  - Install 'qtbase' into your user environment (qt will also try to
load dependent libraries out of ~/.nix-profile/lib/qt-*)

However, this QT_PLUGIN_PATH wrapping hack is used elsewhere in the
tree, presumably to mitigate these (poor) workarounds, especially for
non-NixOS users. There seems to be no downside to this.

With this, I have been able to run NextPNR's GUI on an Ubuntu 16.04
system using the 'nixGL' hack by simply running the resulting binary
from anywhere (though there seems to be some glitching artifacts in the
floorplan UI, I suspect this is due to a buggy OpenGL stack rather than
any direct problem with NextPNR or the QT libraries themselves).

This does not mark the GUI build as non-broken yet, though. That will
happen in the future after a bit more testing and splitting nextpnr into
separate minimal/GUI attributes.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-12 15:51:00 -06:00
..
abcl
adoptopenjdk-bin Merge branch 'master' into staging 2018-12-24 15:02:29 +01:00
aldor
aliceml
apache-flex-sdk
arachne-pnr arachne-pnr: 2018.05.13 -> 2018.09.08 2018-10-01 22:32:54 -05:00
as31
asn1c
aspectj
ats
ats2 ats2: 0.3.11 -> 0.3.12 2018-10-23 13:23:03 +00:00
avian
avra
bigloo
binaryen
bupc
carp carp: init at unstable-2018-09-15 2018-09-24 15:45:58 +03:00
ccl reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
chez chez: Disable on aarch64-linux 2018-12-10 14:55:21 -05:00
chicken chicken: 4.13.0 -> 5.0.0 2018-12-26 22:23:01 -04:00
clasp clasp-common-lisp: update/fix build, 2018-11-28 prerelease (towards 0.9) 2019-01-11 16:29:29 +01:00
clean clean: 2.4 -> 3.0 2018-12-14 15:58:25 -05:00
closure closurecompiler: 20181125 -> 20181210 2019-01-03 19:44:17 -08:00
cmdstan
cmucl reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
colm
compcert compcert: 3.3 -> 3.4 2018-09-17 18:36:31 +00:00
coreclr coreclr: update homepage 2018-09-18 12:47:37 +02:00
crystal crystal: fix "play" subcommand 2018-10-27 13:28:21 +01:00
cudatoolkit cudatoolkit: fix nvprof 2019-01-03 13:56:46 +01:00
dale
dev86
dmd dmd: 2.083.1 -> 2.084.0 2019-01-08 07:51:31 +01:00
dotnet/sdk dotnet-sdk: 2.1.402 -> 2.1.403 2018-10-23 15:49:20 +02:00
dtc
ecl
edk2
eli
elm fix #52118 2019-01-04 13:55:06 +00:00
emscripten
eql
factor-lang factor-lang: 0.97 -> 0.98 2018-10-20 02:51:35 +02:00
fasm fasm: init at 1.73.04 (#50378) 2018-11-15 13:20:00 +00:00
fpc Treewide: use HTTPS on SourceForge 2018-12-02 15:33:08 +01:00
fsharp
fsharp41
fstar
gambit gambit-unstable: 2018-09-03 -> 2018-11-16 2018-11-19 19:19:48 -05:00
gcc treewide: remove paxutils from stdenv 2018-12-22 12:55:05 +01:00
gcc-arm-embedded gcc-arm-embedded: 7-2018-q2-update -> 8-2018-q4-major 2019-01-10 12:30:42 +01:00
gcl Treewide: use HTTPS on GNU Savannah domains 2018-12-02 15:33:09 +01:00
gerbil gerbil-unstable: 2018-09-06 -> 2018-11-19 2018-11-19 22:42:50 -05:00
gforth
ghc ghc844: update hash for d8495549ba9d194815c2d0eaee6797fc7c00756a patch 2019-01-11 20:06:22 +03:00
ghcjs Drop obsolete GHC versions 7.10.3, 8.0.2, and 8.4.3. 2018-11-02 20:13:55 +01:00
ghcjs-ng Bump GHCJS 8.4 2018-11-21 08:04:05 -05:00
glslang vulkan-validation-layers: 1.1.82.0 -> 1.1.85.0 2018-12-08 00:51:39 -05:00
gnu-cobol
gnu-smalltalk gnu-smalltalk: fix build 2018-09-05 23:01:15 +02:00
go go: 1.11.2 -> 1.11.4 2018-12-15 06:54:12 -08:00
gprolog gprolog: 1.4.4 -> 1.4.5 2018-12-25 16:52:12 -08:00
graalvm Merge staging-next into staging 2018-11-18 10:41:34 +01:00
gwt
halide eigen3_3: move version overrides to all-packages.nix 2018-11-18 10:53:25 +00:00
haxe
hhvm hhvm: mark as broken 2018-08-29 14:43:06 +00:00
hop
iasl Revert "iasl: 20180313 -> 20180629 (#46272)" 2018-09-19 12:03:44 +02:00
icedtea-web
inform7
intercal
ios-cross-compile
ispc
javacard-devkit javacard-devkit: allow overriding the java binary (#45416) 2018-08-21 20:00:46 +02:00
jetbrains-jdk treewide: remove paxutils from stdenv 2018-12-22 12:55:05 +01:00
jikes
jsonnet jsonnet: 0.11.2 -> 0.12.1 (#52874) 2018-12-25 19:46:38 -05:00
julia Merge master into staging-next 2019-01-03 20:07:35 +01:00
jwasm
kotlin kotlin: 1.3.10 -> 1.3.11 2018-12-15 16:18:13 -08:00
ldc ldc: 1.11.0 -> 1.12.0 2018-12-27 10:56:26 +01:00
llvm llvm3.{8,9}: use old CMAKE_INSTALL_NAME_DIR value 2019-01-06 22:11:38 -06:00
manticore manticore: 2017-08-22 -> 2018-09-29 2018-12-01 12:22:34 +05:30
matter-compiler
mcpp
mercury
meta-environment/meta-build-env
mezzo ocamlPackages.mezzo: disable for OCaml ≥ 4.06 2018-08-29 12:49:45 +00:00
microscheme treewide: use gnu toolchain for avr/arm-embedded 2018-10-30 13:31:45 -05:00
mint mint: 0.2.1 -> 0.3.1 (#47586) 2018-10-01 17:33:59 +02:00
mit-scheme Treewide: use HTTPS on GNU domains 2018-12-02 15:51:59 +01:00
mkcl
mlton mlton: refactor and adds mlton20180207Binary mlton20180207 mltonHEAD 2018-10-12 00:47:54 -04:00
mono mono: llvm fork update 3.4svn-mono-f9b1a74368 -> 3.6-mono-2017-02-15 2018-12-23 21:37:06 +00:00
mosml
mozart reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
mruby mruby: 1.4.1 -> 2.0.0 2018-12-15 07:30:35 -05:00
nasm nasm: 2.14 -> 2.14.01 2018-12-25 02:20:16 -08:00
neko
nextpnr nextpnr: with GUI support, be sure to set QT_PLUGIN_PATH 2019-01-12 15:51:00 -06:00
nim nim: update nodejs-slim 2018-10-31 10:38:16 +01:00
nvidia-cg-toolkit reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
obliv-c obliv-c: 0.0pre20170827 -> 0.0pre20180624 2018-08-28 04:32:56 +00:00
ocaml ocaml: fix build when X11 is not available 2018-12-17 17:46:46 +00:00
opa
opendylan tree-wide: patchelf used during build -> nativeBuildInputs 2018-09-28 11:43:16 -05:00
openjdk treewide: remove paxutils from stdenv 2018-12-22 12:55:05 +01:00
openspin openspin: init at 2018-10-02 2018-10-02 03:02:49 +00:00
oraclejdk treewide: remove paxutils from stdenv 2018-12-22 12:55:05 +01:00
orc orc: update homepage 2018-09-02 01:46:28 +02:00
osl osl: 1.9.9 -> 1.9.10 2018-10-03 04:53:41 -07:00
owl-lisp
pakcs pakcs: 2.0.2-b9 -> 2.0.2 2018-11-17 05:08:21 +03:00
picat reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
polyml
ponyc ponyc: 0.24.4 -> 0.25.0 2018-10-26 19:56:11 -07:00
purescript/psc-package psc-package: 0.4.1 -> 0.4.2 2018-11-09 15:36:00 +01:00
reason dune: 1.4.0 -> 1.5.0 (#49848) 2018-11-09 12:26:18 +00:00
rgbds
rust rust: Remove unused buildRustPackage from binaryBuild.nix 2018-12-18 06:07:57 +01:00
sbcl sbcl: fix a thread safety bug with an upstream patch 2019-01-10 12:05:55 +01:00
scala scala: 2.12.7 -> 2.12.8 2018-12-05 09:27:34 -05:00
sdcc
seexpr
serpent
shaderc
smlnj smlnj: 110.84 includes a new implementation of Abstract Syntax Description Library (ASDL). Adding it as a required source. 2018-11-16 16:17:35 +05:30
solc solc: 0.5.1 -> 0.5.2 2018-12-21 23:42:59 +01:00
souffle
souper
squeak
stalin
swi-prolog
swift treewide: remove paxutils from stdenv 2018-12-22 12:55:05 +01:00
terra treewide: remove paxutils from stdenv 2018-12-22 12:55:05 +01:00
teyjus
tinycc treewide: remove paxutils from stdenv 2018-12-22 12:55:05 +01:00
urn urn: 0.7.1 -> 0.7.2 2018-12-28 16:39:13 +01:00
urweb urweb: 20170720 -> 20180616 2018-11-23 15:42:23 +07:00
vala Merge branch 'master' into staging 2018-12-24 15:02:29 +01:00
wcc
wla-dx
x11basic x11basic: init at 1.26 2018-11-03 17:58:02 +01:00
yap
yasm
yosys yosys: 2018.10.17 -> 2019.01.08 2019-01-08 19:15:24 -06:00
z88dk
zig zig: 0.2.0 -> 0.3.0 2018-09-29 15:18:57 -04:00
zulu