659 B
659 B
julia plots on nixos fix
script taken from https://gist.github.com/konfou/d12c0a26fc0d3b432dc9d23c86701fcb and modified to actually work
first run ./2.jl
or any other julia program that adds the
Plots
package to fetch all the julia packages I presume
after everything is fetched and you most likely get an error,
go back to the root of the project and run julia-fix-gksqt.sh
to generate a nix shell under julia-fix-gksqt.nix
with the correct
path to the gksqt binary under ~/.julia
(fuck julia for this)
then enter that nix shell using nix-shell julia-fix-gksqt.nix
at
which point you should be able to run your julia program with no issues