diff options
author | Justin Bedo <cu@cua0.org> | 2018-10-05 16:16:20 +1000 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2018-10-05 16:19:06 +1000 |
commit | 871ef64f3c43199dfa01216ac86db56650c2c8a2 (patch) | |
tree | 7053b4533d7306b3fc0eed8f9bc25e8e2abb6d6e /lib/references.nix | |
parent | dd3666f6a069105e61f8889665cf55eed9a14e51 (diff) |
implement types
Diffstat (limited to 'lib/references.nix')
-rwxr-xr-x | lib/references.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/references.nix b/lib/references.nix index 61655cd..3614647 100755 --- a/lib/references.nix +++ b/lib/references.nix @@ -1,6 +1,7 @@ { bionix, nixpkgs }: with nixpkgs; +with bionix.types; rec { grch38 = grch38-p12; @@ -13,6 +14,7 @@ rec { sha256 = "0ji2ggpmgnbpwbhq8mirj6h3lyy02nl2rnz7n892iq5cqpsblh4z"; }; buildCommand = "gunzip < $src > $out"; + passthru.filetype = filetype.fa {}; }; blacklist = stdenvNoCC.mkDerivation { name = "blacklist-grch38"; @@ -21,6 +23,7 @@ rec { sha256 = "1lpnqq1mjidbdxj5i6x26rxa8x1rs8q3hlf0z1z49j3jsnkgffky"; }; buildCommand = "gunzip < $src > $out"; + passthru.filetype = filetype.bed { ref = seq; }; }; }; @@ -34,6 +37,7 @@ rec { sha256 = "0ryiqab5bldpzawylsk2qpjxr2j701q03ww9jqyxhkimqpn9g3mr"; }; buildCommand = "gunzip < $src > $out"; + passthru.filetype = filetype.fa {}; }; }; @@ -47,6 +51,7 @@ rec { sha256 = "1660d6d05f3aa266c6053cfd1efef1747d9e854836917241d6f47cff7a55340c"; }; buildCommand = "gunzip < $src > $out"; + passthru.filetype = filetype.fa {}; }; }; } |