breitbandmessung: throw later for unsupported systems

This will provide at least the `name` and `meta` attributes when
evaluating on such a system. `meta.platforms` and therefore
`meta.broken` can then be used to determine if the package can be
evaluated further.
This commit is contained in:
Fabian Möller 2022-01-27 23:25:59 +01:00
parent 9ec1d80c55
commit e533f9d3b2
No known key found for this signature in database
GPG Key ID: 70B29D65DD8A7E31

View File

@ -135,7 +135,7 @@ let
};
aarch64-darwin = x86_64-darwin;
}.${system} or (throw "Unsupported system: ${system}");
}.${system} or { src = throw "Unsupported system: ${system}"; };
in
stdenv.mkDerivation ({
pname = "breitbandmessung";