1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-01-11 23:53:21 +00:00
YosysHQ.nextpnr/shell.nix
Miodrag Milanović 6d187fb8d0
Update CI and README for Qt6 (#1584)
Co-authored-by: OpenProgger <openproggerfreak@gmail.com>
2025-10-17 14:16:07 +02:00

31 lines
720 B
Nix

{ pkgs ? import (fetchTarball https://github.com/NixOS/nixpkgs/archive/24.05.tar.gz) {} }:
let
pythonPkgs = pkgs.python3Packages;
boostPython = pkgs.boost.override { python = pythonPkgs.python; enablePython = true; };
in pkgs.mkShell {
buildInputs = with pkgs; [
cmake
eigen
boostPython
pythonPkgs.python
pythonPkgs.apycula
pkgs.qt6.qtbase
llvmPackages.openmp
icestorm
trellis
mold
yosys
clang
valgrind
cling
gdb
];
shellHook = ''
export TRELLIS_INSTALL_PREFIX=${pkgs.trellis}
export ICESTORM_INSTALL_PREFIX=${pkgs.icestorm}
export QT_QPA_PLATFORM_PLUGIN_PATH="${pkgs.qt6.qtbase.bin}/lib/qt-${pkgs.qt6.qtbase.version}/plugins";
'';
}