Skip to content

Instantly share code, notes, and snippets.

@notmgsk
Created September 19, 2020 21:19
Show Gist options
  • Save notmgsk/2eaa5a725ae1890839350ff4030d50c2 to your computer and use it in GitHub Desktop.
Save notmgsk/2eaa5a725ae1890839350ff4030d50c2 to your computer and use it in GitHub Desktop.
# 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