diff --git a/bsc/apps/dummy/default.nix b/bsc/apps/dummy/default.nix new file mode 100644 index 0000000..79fb138 --- /dev/null +++ b/bsc/apps/dummy/default.nix @@ -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}"; + } + ); +}