Skip to content

contextflow/julia_flake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Julia Flake

This flake provides the julia programming environment and a builder for packaging julia programs.

Using julia

Make sure nix is installed with flake support. You can drop into a nix shell with julia installed just with

nix shell github:flicaflow/julia_flake#julia

Building Julia Packages

Following snipped builds a julia program:

buildJulia15Package rec { 
  name = "hello-${version}";
  version = "0.1.0";
  dependencyHash =  "sha256-SPSrDNcB0H9fY+T1xEG1NYIrJIV1SU3dr2hQ5aPJcV0=";
  entry = "main.jl";
  src = ./.;
  execName = "hello1";
}

Prerequisite for this is that Manifest.toml and Project.toml are present in the root of src. Leave the dependencyHash attribute empty initially and paste in the correct hash after the build fails. A demo application using can be found here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 100.0%