From 74b84ea649f2b34e038d069d9e4f904230571ea4 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Tue, 18 Dec 2018 17:18:15 +1100 Subject: pipe: fix bug --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 42dd286..84bb3c8 100644 --- a/default.nix +++ b/default.nix @@ -35,7 +35,7 @@ let exec = f: x: y: qsub (builtins.intersectAttrs qsubDefs x) (f (builtins.removeAttrs x (builtins.attrNames qsubDefs)) y); }); def = f: defs: attrs: f (defs // attrs); - pipe = let g = fs: with builtins; let h = head fs; t = tail fs; in if t != [] then x: (g t (h x)) else h; in g + pipe = let g = fs: with builtins; let h = head fs; t = tail fs; in if t != [] then x: (g t (h x)) else h; in g; # Fetching files of specific type fetchFastQ = attrs: with types; tagFiletype (filetype.fq {}) (fetchurl attrs); -- cgit v1.2.3