fwi: add gitTable to params

This commit is contained in:
Rodrigo Arias 2021-04-20 18:51:36 +02:00
parent 9fc2a2025c
commit 5a49611bf6

View File

@ -3,18 +3,25 @@
, nz ? 200 , nz ? 200
, nx ? 200 , nx ? 200
, ny ? 500 , ny ? 500
, gitBranch ? "garlic/seq"
, gitCommit ? null
, garlicTools
}: }:
with stdenv.lib; with stdenv.lib;
with builtins; with builtins;
let
gitSource = garlicTools.fetchGarlicApp {
appName = "fwi";
inherit gitCommit gitBranch;
gitTable = import ./git-table.nix;
};
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "fwi-params"; name = "fwi-params";
src = builtins.fetchGit { inherit (gitSource) src gitBranch gitCommit;
url = "ssh://git@bscpm03.bsc.es/garlic/apps/fwi.git";
ref = "garlic/seq";
};
enableParallelBuilding = false; enableParallelBuilding = false;