Loading pkgs/by-name/xv/xvidcore/package.nix +6 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,12 @@ stdenv.mkDerivation rec { [ ] # Undocumented darwin hack (assembly is probably disabled due to an # issue with nasm, however yasm is now used) ++ lib.optional stdenv.hostPlatform.isDarwin "--enable-macosx_module --disable-assembly"; ++ lib.optionals stdenv.hostPlatform.isDarwin [ "--enable-macosx_module" ] ++ lib.optionals (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isFreeBSD) [ "--disable-assembly" ]; nativeBuildInputs = [ ] ++ lib.optional (!stdenv.hostPlatform.isDarwin) yasm; Loading Loading
pkgs/by-name/xv/xvidcore/package.nix +6 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,12 @@ stdenv.mkDerivation rec { [ ] # Undocumented darwin hack (assembly is probably disabled due to an # issue with nasm, however yasm is now used) ++ lib.optional stdenv.hostPlatform.isDarwin "--enable-macosx_module --disable-assembly"; ++ lib.optionals stdenv.hostPlatform.isDarwin [ "--enable-macosx_module" ] ++ lib.optionals (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isFreeBSD) [ "--disable-assembly" ]; nativeBuildInputs = [ ] ++ lib.optional (!stdenv.hostPlatform.isDarwin) yasm; Loading