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/kallisto-quant.nix | |
parent | 9fd618d0305d4927c8d86fc37238d1216e401967 (diff) |
large refactor
- use bionix.pkgs instead of nixpkgs
- replace stdenv.mkDerivation with stage
Diffstat (limited to 'tools/kallisto-quant.nix')
-rw-r--r-- | tools/kallisto-quant.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/kallisto-quant.nix b/tools/kallisto-quant.nix index c410721..1deab67 100644 --- a/tools/kallisto-quant.nix +++ b/tools/kallisto-quant.nix @@ -1,5 +1,4 @@ {bionix -, nixpkgs , indexFlags ? {} , bias ? false , bootstrapSamples ? 0 @@ -13,7 +12,7 @@ , fragmentSD ? null , ref}: -with nixpkgs; +with bionix; with lib; assert (!single || (fragmentLength != null && fragmentSD != null)); @@ -27,9 +26,9 @@ in assert (all (x: isFastQ (x.filetype)) inputs); -stdenv.mkDerivation { +stage { name = "kallisto-quant"; - buildInputs = [ kallisto ]; + buildInputs = with pkgs; [ kallisto ]; buildCommand = '' mkdir $out kallisto quant \ |