chore: add Quartus Prime Lite toolchain via nix flake in devbox

This commit is contained in:
randogoth 2026-10-25 12:09:42 +02:00
parent d34f4c69e1
commit 3ee8a5c3db
5 changed files with 54 additions and 2 deletions

21
nix/flake.nix Normal file
View file

@ -0,0 +1,21 @@
{
description = "STRIX FPGA toolchain";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { nixpkgs, ... }:
let
# Quartus is unfree (free of charge, proprietary) and only built for x86_64-linux.
pkgs = import nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
};
in
{
# Only the Vidor's FPGA family; Questa is dropped in favour of open-source simulators.
packages.x86_64-linux.quartus = pkgs.quartus-prime-lite.override {
supportedDevices = [ "Cyclone 10 LP" ];
withQuesta = false;
};
};
}