TL;DR Run julia-fix-gksqt.sh
, then nix-shell julia-fix-gksqt.nix --run julia
.
If you're running NixOS and trying to plot something in Julia you're
probably getting the following error (where kon
will and 9Vi4m
may
differ)
sh: /home/kon/.julia/packages/GR/9Vi4m/src/../deps/gr/bin/gksqt: No such file or directory
connect: Connection refused
GKS: can't connect to GKS socket application