mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 03:28:12 +09:00
15 lines
355 B
Nix
15 lines
355 B
Nix
{ pkgs, ... }:
|
|
let
|
|
arduinoIdeX11 = pkgs.arduino-ide.overrideAttrs (old: {
|
|
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.makeWrapper ];
|
|
|
|
postFixup = (old.postFixup or "") + ''
|
|
wrapProgram $out/bin/arduino-ide \
|
|
--add-flags "--ozone-platform=x11"
|
|
'';
|
|
});
|
|
in
|
|
{
|
|
environment.systemPackages = [ arduinoIdeX11 ];
|
|
}
|