Created
September 19, 2020 21:19
-
-
Save notmgsk/2eaa5a725ae1890839350ff4030d50c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# courtest of colescott | |
with import <nixos> {}; | |
let | |
liblapack = pkgs.liblapack.override { shared = true; }; | |
mkl = pkgs.mkl.override { enableStatic = true; }; | |
libraries = [ | |
libffi | |
openssl | |
# mkl | |
liblapack | |
czmq zeromq | |
(stdenv.lib.getLib gfortran.cc) | |
]; | |
in | |
pkgs.mkShell rec { | |
buildInputs = [ | |
sbcl | |
gfortran | |
rlwrap | |
] ++ libraries; | |
LD_LIBRARY_PATH = lib.makeLibraryPath libraries; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment