aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2019-02-06 10:30:34 +1100
committerJustin Bedo <cu@cua0.org>2019-02-06 10:31:28 +1100
commit8e466df452e33cc2102e18c3ee1bdcf7e0ea189f (patch)
treecbbb20fcb1c064231b1f914229342084af9fffff
parent5e2c7c85d001fde0600e77bfbd9d1078fcd561f4 (diff)
ref-grch38-snpeff-db: fix pkg scope
-rwxr-xr-xlib/references.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/references.nix b/lib/references.nix
index ebd61fc..6675ac4 100755
--- a/lib/references.nix
+++ b/lib/references.nix
@@ -69,13 +69,13 @@ rec {
};
};
snpeff = {
- db = stdenv.mkDerivation rec {
+ db = pkgs.stdenv.mkDerivation rec {
name = "GRCh38.86";
src = pkgs.fetchurl {
url = "mirror://sourceforge/project/snpeff/databases/v4_3/snpEff_v4_3_${name}.zip";
sha256 = "1rf8q7l732ayjq2lpny4s75zpij05j00151374nqblk4wri2mz0i";
};
- buildInputs = [ unzip ];
+ buildInputs = with pkgs; [ unzip ];
buildCommand = ''
unzip ${src}
mv data/${name} $out