mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
treewide: Remove now unnecessary boost vars
`meson` now finds `boost` using `pkg-config`
This commit is contained in:
parent
821841dd87
commit
cde3f1cada
@ -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; {
|
||||
description = "Limiter, compressor, reverberation, equalizer and auto volume effects for Pulseaudio applications";
|
||||
mainProgram = "pulseeffects";
|
||||
|
@ -27,10 +27,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-QLKLqTCpVMWxlDINa8Bo1vgCDcjwovoaXUs/PdMnxv0=";
|
||||
};
|
||||
|
||||
# Meson doesn't find boost without these
|
||||
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
|
||||
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
|
||||
|
||||
nativeBuildInputs = [
|
||||
git
|
||||
makeWrapper
|
||||
|
@ -11,7 +11,7 @@
|
||||
stdenv.mkDerivation {
|
||||
pname = "tuxclocker-nvidia-plugin";
|
||||
|
||||
inherit (tuxclocker-plugins) src version meta BOOST_INCLUDEDIR BOOST_LIBRARYDIR nativeBuildInputs;
|
||||
inherit (tuxclocker-plugins) src version meta nativeBuildInputs;
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
|
@ -13,7 +13,7 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
inherit (tuxclocker) src version meta BOOST_INCLUDEDIR BOOST_LIBRARYDIR;
|
||||
inherit (tuxclocker) src version meta;
|
||||
|
||||
pname = "tuxclocker-plugins";
|
||||
|
||||
|
@ -71,13 +71,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
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 = [
|
||||
(lib.mesonBool "enable_file_io" true)
|
||||
(lib.mesonBool "enable_io_uring" true)
|
||||
|
@ -44,11 +44,6 @@ stdenv.mkDerivation rec {
|
||||
"-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.
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
|
@ -44,11 +44,6 @@ stdenv.mkDerivation rec {
|
||||
"-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;
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -203,13 +203,6 @@ stdenv.mkDerivation {
|
||||
(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 =
|
||||
''
|
||||
mkdir -p $doc/nix-support
|
||||
|
Loading…
Reference in New Issue
Block a user