forked from rarias/bscpkgs
fwi: add gitTable to params
This commit is contained in:
parent
9fc2a2025c
commit
5a49611bf6
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user