Skip to content

Instantly share code, notes, and snippets.

@tbenst
Created October 30, 2018 04:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbenst/2d68b9fb6a55e6ff81205998bbd5bc33 to your computer and use it in GitHub Desktop.
Save tbenst/2d68b9fb6a55e6ff81205998bbd5bc33 to your computer and use it in GitHub Desktop.
let
pkgs = import <nixpkgs> {};
in pkgs.buildFHSUserEnv {
name = "julia";
targetPkgs = pkgs: with pkgs; [
gnumake
gcc
clang
python
gfortran
perl
wget
m4
gawk
git
patch
cmake
pkgconfig
];
runScript = "/home/$USER/lib/julia-1.0.1/bin/julia";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment