Add dummy app

This commit is contained in:
Rodrigo Arias 2020-07-27 13:17:52 +02:00
parent 11901e77de
commit 76ec5d5f16

View File

@ -0,0 +1,18 @@
{
stdenv
, branch ? null
, srcPath ? null
}:
#assert if srcPath == null then branch != null else true;
stdenv.mkDerivation rec {
name = "dummy";
src = (if srcPath != null then srcPath else
builtins.fetchGit {
url = "ssh://git@bscpm02.bsc.es/rarias/dummy.git";
ref = "${branch}";
}
);
}