This repository has been archived on 2025-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
bscpkgs/bsc/apps/dummy/default.nix

19 lines
317 B
Nix

{
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}";
}
);
}