diff options
author | Justin Bedo <cu@cua0.org> | 2019-01-09 16:38:42 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2019-01-09 16:38:42 +1100 |
commit | c3babc9eb65dc8c56d07ce8a6ee0d8c03bbd223e (patch) | |
tree | f7d88ec21635664781c7c79fe0ea6f962ae38004 /tools/gridss-extractSVReads.nix | |
parent | 9fd618d0305d4927c8d86fc37238d1216e401967 (diff) |
large refactor
- use bionix.pkgs instead of nixpkgs
- replace stdenv.mkDerivation with stage
Diffstat (limited to 'tools/gridss-extractSVReads.nix')
-rw-r--r-- | tools/gridss-extractSVReads.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/gridss-extractSVReads.nix b/tools/gridss-extractSVReads.nix index 5fc4c59..f2fab30 100644 --- a/tools/gridss-extractSVReads.nix +++ b/tools/gridss-extractSVReads.nix @@ -1,5 +1,4 @@ { bionix -, nixpkgs , dictIndexAttrs ? {} , faidxAttrs ? {} , flags ? null @@ -9,9 +8,9 @@ , config ? null }: -with nixpkgs; +with bionix; with lib; -with bionix.types; +with types; input: @@ -20,9 +19,9 @@ let in -stdenv.mkDerivation rec { +stage rec { name = "gridss-extractSVReads"; - buildInputs = [ jre R ]; + buildInputs = with pkgs; [ jre R ]; buildCommand = '' ln -s ${ref} ref.fa ln -s ${bionix.samtools.faidx faidxAttrs ref} ref.fa.fai |