mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 20:00:10 +00:00
wkhtmltopdf: fix eval on unsupported systems
This commit is contained in:
@@ -128,7 +128,5 @@ stdenv.mkDerivation (
|
||||
};
|
||||
}
|
||||
// lib.optionalAttrs (stdenv.hostPlatform.isDarwin) darwinAttrs
|
||||
//
|
||||
lib.optionalAttrs (stdenv.hostPlatform.isLinux)
|
||||
linuxAttrs.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}")
|
||||
// lib.optionalAttrs (stdenv.hostPlatform.isLinux) (linuxAttrs.${stdenv.system} or { })
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user