Last active
December 24, 2023 11:40
-
-
Save robertodr/c279b06318ea6b632c60ccb168cce4d2 to your computer and use it in GitHub Desktop.
mrchem nix shell
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
nix_direnv_watch_file nix/sources.json | |
use nix |
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
let | |
sources = import ./nix/sources.nix; | |
pkgs = import sources.nixpkgs { | |
overlays = [ | |
(self: super: { | |
}) | |
]; | |
}; | |
mach-nix = import sources.mach-nix { | |
pkgs = pkgs; | |
python = "python39"; | |
pypiDataRev = "cffa5781d955e389dcddcdb91e33e3d93d6754e3"; | |
pypiDataSha256 = "w+ZEulFZbExp0U2PiRxrYXvbnMbFAq3sQPrtJ8vJmiU="; | |
}; | |
pythonEnv = mach-nix.mkPython { | |
requirements = '' | |
h5py | |
parselglossy | |
qcelemental | |
ruamel.yaml | |
''; | |
}; | |
in | |
pkgs.mkShell { | |
name = "MRDev"; | |
nativeBuildInputs = with pkgs; [ | |
cmake | |
eigen | |
gcc | |
hdf5 | |
highfive | |
ninja | |
nlohmann_json | |
openmpi | |
pythonEnv | |
# Development tools | |
clang-analyzer | |
clang-tools | |
doxygen_gui | |
graphviz | |
lcov | |
lldb | |
pythonEnv | |
valgrind | |
]; | |
hardeningDisable = [ "all" ]; | |
NINJA_STATUS = "[Built edge %f of %t in %e sec] "; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment