From 98501e58830a93b531a1a5a172d666e66e6b4a6a Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Wed, 22 Apr 2020 13:48:18 +1000 Subject: fix error message for linkOutputs --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index a8551d6..98b2e5a 100644 --- a/default.nix +++ b/default.nix @@ -66,7 +66,7 @@ let buildCommand = let recurse = x: if x ? type && x.type == "derivation" then x else if builtins.typeOf x == "set" then linkOutputs x - else error "linkOutputs: unsupported type"; + else abort "linkOutputs: unsupported type"; link = dst: src: '' ln -s ${recurse src} $(perl -e 'print $ENV{"${dst}"}') ; ln -s ${recurse src} $out/${dst} ''; -- cgit v1.2.3