obliczenia_naukowe/l2
2024-11-08 17:07:02 +01:00
..
.gitignore init l2 2024-11-08 12:04:48 +01:00
1.jl init l2 2024-11-08 12:04:48 +01:00
2.jl l2/z2 2024-11-08 17:06:50 +01:00
3.jl l2/z3 2024-11-08 17:07:02 +01:00
hilb.jl l2/z3 2024-11-08 17:07:02 +01:00
matcond.jl l2/z3 2024-11-08 17:07:02 +01:00
README.md init l2 2024-11-08 12:04:48 +01:00

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