Add dummy app
This commit is contained in:
parent
11901e77de
commit
76ec5d5f16
18
bsc/apps/dummy/default.nix
Normal file
18
bsc/apps/dummy/default.nix
Normal 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}";
|
||||
}
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user