Commit 719961be authored by MERCIER Michael's avatar MERCIER Michael

[misc] add a simple shell.nix with examples

parent b9c6982a
......@@ -2,30 +2,22 @@ with import (
fetchTarball
"https://gitlab.inria.fr/vreis/datamove-nix/repository/master/archive.tar.gz")
{ };
# pkgs = (import <nixpkgs> {});
#with import <nixpkgs> {};
batsim_dev
## For local simgrid development use the folowing instead
#
#let
# simgrid_local = (pkgs.simgrid_dev.override {
# debug = true;
# # fortranSupport = true;
# # buildDocumentation = true;
# # buildJavaBindings = true;
# # modelCheckingSupport = true;
# # moreTests = true;
# }).overrideAttrs (attrs: {
# src = /home/mmercier/Projects/simgrid;
# dontStrip = true;
# doCheck = false;
#});
# simgrid_local = simgrid_dev.overrideAttrs (attrs: {
# src = /path/to/simgrid;
# dontStrip = true;
# doCheck = false;
# });
#in
(batsim_dev.override {
#batsim = (batsim.override { simgrid = simgrid_local; });
batsim = (batsim.override { simgrid = simgrid_dev; });
}).overrideAttrs (attrs: rec {
version = "dev_local";
src = ./.;
buildInputs = attrs.nativeBuildInputs;
makeFlags = ["VERBOSE=1"];
doCheck = false;
})
#(
# batsim_dev.override { simgrid = simgrid_local; }
#).overrideAttrs (attrs: rec {
# version = "dev_local";
# src = ./.;
# makeFlags = ["VERBOSE=1"];
#})
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