Commit 35668386 authored by MERCIER Michael's avatar MERCIER Michael

[misc] add a simple shell.nix with examples

parent 66be6cf3
...@@ -2,49 +2,22 @@ with import ( ...@@ -2,49 +2,22 @@ with import (
fetchTarball fetchTarball
"https://gitlab.inria.fr/vreis/datamove-nix/repository/master/archive.tar.gz") "https://gitlab.inria.fr/vreis/datamove-nix/repository/master/archive.tar.gz")
{ }; { };
# pkgs = (import <nixpkgs> {});
#with import <nixpkgs> {};
pkgs.stdenv.mkDerivation rec { batsim_dev
name = "batsim-test-env";
env = pkgs.buildEnv { name = name; paths = buildInputs; };
simgrid_batsim = dmpkgs.simgrid_dev.overrideDerivation(attrs: rec { #let
src = pkgs.fetchgit { # simgrid_local = simgrid_dev.overrideAttrs (attrs: {
url = "https://github.com/simgrid/simgrid.git"; # src = /path/to/simgrid;
rev = "54f07f038966ffe0b3e8ef526e9192f7eb49ad09"; # dontStrip = true;
sha256 = "0afsh7ys4lcbdabaqzc2m6ddar875f3rrmzjdb00k9x2pr91whpa"; # doCheck = false;
}; # }
doCheck = false; # );
}); #in
#(
buildInputs = [ # batsim_dev.override { simgrid = simgrid_local; }
######### #).overrideAttrs (attrs: rec {
# Build # # version = "dev_local";
######### # src = ./.;
pkgs.boost # makeFlags = ["VERBOSE=1"];
pkgs.gmp # doCheck = false;
pkgs.rapidjson #})
pkgs.openssl
pkgs.hiredis
pkgs.libev
pkgs.cppzmq
pkgs.zeromq
pkgs.cmake
simgrid_batsim
dmpkgs.redox
########
# Test #
########
# Run simulations
dmpkgs.batexpe
dmpkgs.batsched_dev
pkgs.redis
# Check results
pkgs.python36
pkgs.python36Packages.pandas
# Misc
pkgs.doxygen
];
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment