lash: delay assert behind eval of `meta`

This allows CI to evaluate `meta.platforms` to see that this package is
not supported on darwin. Working around the assert before that requires
much more hackery.

I'm not 100% sure whether the assert is needed, but it doesn't hurt to
keep it in this place.

+3 -3
+3 -3
pkgs/by-name/la/lash/package.nix
··· 12 12 readline, 13 13 }: 14 14 15 - assert libuuid != null; 16 - 17 15 stdenv.mkDerivation rec { 18 16 pname = "lash"; 19 17 version = "0.5.4"; ··· 40 38 libxml2 41 39 readline 42 40 ]; 43 - propagatedBuildInputs = [ libuuid ]; 41 + propagatedBuildInputs = 42 + assert libuuid != null; 43 + [ libuuid ]; 44 44 NIX_LDFLAGS = "-lm -lpthread -luuid"; 45 45 46 46 postInstall = ''