{ lib, pkgs, ... }: let env_nix = pkgs.writeText "env.nix" '' { pkgs ? import {} }: (pkgs.buildFHSUserEnv { name = "simple-x11-env"; targetPkgs = pkgs: with pkgs; [ coreutils gcc arduino ]; multiPkgs = pkgs: with pkgs; [ zlib curl ]; runScript = "arduino"; }).env ''; in pkgs.writeDashBin "games-user-env" '' nix-shell ${env_nix} ''