treewide: Remove now unnecessary boost vars

`meson` now finds `boost` using `pkg-config`
This commit is contained in:
Artturin 2024-06-23 18:21:43 +03:00 committed by Alyssa Ross
parent 821841dd87
commit cde3f1cada
8 changed files with 2 additions and 35 deletions

View File

@ -99,11 +99,6 @@ in stdenv.mkDerivation rec {
) )
''; '';
# Meson is no longer able to pick up Boost automatically.
# https://github.com/NixOS/nixpkgs/issues/86131
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
meta = with lib; { meta = with lib; {
description = "Limiter, compressor, reverberation, equalizer and auto volume effects for Pulseaudio applications"; description = "Limiter, compressor, reverberation, equalizer and auto volume effects for Pulseaudio applications";
mainProgram = "pulseeffects"; mainProgram = "pulseeffects";

View File

@ -27,10 +27,6 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-QLKLqTCpVMWxlDINa8Bo1vgCDcjwovoaXUs/PdMnxv0="; hash = "sha256-QLKLqTCpVMWxlDINa8Bo1vgCDcjwovoaXUs/PdMnxv0=";
}; };
# Meson doesn't find boost without these
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
nativeBuildInputs = [ nativeBuildInputs = [
git git
makeWrapper makeWrapper

View File

@ -11,7 +11,7 @@
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "tuxclocker-nvidia-plugin"; pname = "tuxclocker-nvidia-plugin";
inherit (tuxclocker-plugins) src version meta BOOST_INCLUDEDIR BOOST_LIBRARYDIR nativeBuildInputs; inherit (tuxclocker-plugins) src version meta nativeBuildInputs;
buildInputs = [ buildInputs = [
boost boost

View File

@ -13,7 +13,7 @@
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
inherit (tuxclocker) src version meta BOOST_INCLUDEDIR BOOST_LIBRARYDIR; inherit (tuxclocker) src version meta;
pname = "tuxclocker-plugins"; pname = "tuxclocker-plugins";

View File

@ -71,13 +71,6 @@ stdenv.mkDerivation rec {
dontUseCmakeConfigure = true; dontUseCmakeConfigure = true;
# Meson is no longer able to pick up Boost automatically.
# https://github.com/NixOS/nixpkgs/issues/86131
env = {
BOOST_INCLUDEDIR = "${lib.getDev boost182}/include";
BOOST_LIBRARYDIR = "${lib.getLib boost182}/lib";
};
mesonFlags = [ mesonFlags = [
(lib.mesonBool "enable_file_io" true) (lib.mesonBool "enable_file_io" true)
(lib.mesonBool "enable_io_uring" true) (lib.mesonBool "enable_io_uring" true)

View File

@ -44,11 +44,6 @@ stdenv.mkDerivation rec {
"-Dbuild-tests=true" "-Dbuild-tests=true"
]; ];
# Meson is no longer able to pick up Boost automatically.
# https://github.com/NixOS/nixpkgs/issues/86131
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
# Tests fail on Darwin, possibly because of sandboxing. # Tests fail on Darwin, possibly because of sandboxing.
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;

View File

@ -44,11 +44,6 @@ stdenv.mkDerivation rec {
"-Dbuild-tests=true" "-Dbuild-tests=true"
]; ];
# Meson is no longer able to pick up Boost automatically.
# https://github.com/NixOS/nixpkgs/issues/86131
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
meta = with lib; { meta = with lib; {

View File

@ -203,13 +203,6 @@ stdenv.mkDerivation {
(lib.mesonOption "sandbox-shell" "${busybox-sandbox-shell}/bin/busybox") (lib.mesonOption "sandbox-shell" "${busybox-sandbox-shell}/bin/busybox")
]; ];
# Needed for Meson to find Boost.
# https://github.com/NixOS/nixpkgs/issues/86131.
env = {
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
};
postInstall = postInstall =
'' ''
mkdir -p $doc/nix-support mkdir -p $doc/nix-support