wkhtmltopdf: throw on unsupported systems
This commit is contained in:
parent
956b67b192
commit
5af573cc81
@ -124,5 +124,7 @@ stdenv.mkDerivation (
|
||||
};
|
||||
}
|
||||
// lib.optionalAttrs (stdenv.hostPlatform.isDarwin) darwinAttrs
|
||||
// lib.optionalAttrs (stdenv.hostPlatform.isLinux) linuxAttrs.${stdenv.system}
|
||||
//
|
||||
lib.optionalAttrs (stdenv.hostPlatform.isLinux)
|
||||
linuxAttrs.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}")
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user