We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b62d5e + aad641c commit c522fe6Copy full SHA for c522fe6
pkgs/by-name/xv/xvidcore/package.nix
@@ -31,7 +31,12 @@ stdenv.mkDerivation rec {
31
[ ]
32
# Undocumented darwin hack (assembly is probably disabled due to an
33
# issue with nasm, however yasm is now used)
34
- ++ lib.optional stdenv.hostPlatform.isDarwin "--enable-macosx_module --disable-assembly";
+ ++ lib.optionals stdenv.hostPlatform.isDarwin [
35
+ "--enable-macosx_module"
36
+ ]
37
+ ++ lib.optionals (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isFreeBSD) [
38
+ "--disable-assembly"
39
+ ];
40
41
nativeBuildInputs = [ ] ++ lib.optional (!stdenv.hostPlatform.isDarwin) yasm;
42
0 commit comments