Skip to content

Commit e79e412

Browse files
committed
NIX
1 parent 1a35e72 commit e79e412

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

shell.nix

+9-2
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,21 @@ with (import <nixpkgs> {});
22
mkShell {
33
buildInputs = [
44
# Base
5+
stdenv
6+
cacert
57
curl
68
wget
79
git
810
openssh
911
cmake
1012
ninja
11-
gcc
12-
gfortran
13+
gcc14
14+
gfortran14
1315
mpi
16+
python313
1417

1518
# Libs
19+
zlib
1620
openblas
1721
suitesparse
1822
hdf5
@@ -33,5 +37,8 @@ mkShell {
3337
export CC=gcc
3438
export CXX=g++
3539
export FC=gfortran
40+
export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath [
41+
pkgs.stdenv.cc.cc
42+
]}:${pkgs.zlib}/lib
3643
'';
3744
}

0 commit comments

Comments
 (0)