lol

libbass: evaluation nitpicks

- specify meta.platforms to avoid trying to evaluate when it shouldn't
- use `throw` instead of `abort`, as that's the convention for similar cases

+2 -1
+2 -1
pkgs/development/libraries/audio/libbass/default.nix
··· 42 42 installPhase = 43 43 let so = 44 44 if bass.so ? ${stdenv.system} then bass.so.${stdenv.system} 45 - else abort "${name} not packaged for ${stdenv.system} (yet)."; 45 + else throw "${name} not packaged for ${stdenv.system} (yet)."; 46 46 in '' 47 47 mkdir -p $out/{lib,include} 48 48 install -m644 -t $out/lib/ ${so} ··· 53 53 description = "Shareware audio library"; 54 54 homepage = https://www.un4seen.com/; 55 55 license = licenses.unfreeRedistributable; 56 + platforms = builtins.attrNames bass.so; 56 57 }; 57 58 }; 58 59