pulseview: hotfix build

libsForQt514 uses a custom stdenv that cause breakage when mixed with
boost built with normal stdenv. Fix it by building boost with the same
stdenv as libsForQt514.

This is a dirty fix compared to https://github.com/NixOS/nixpkgs/pull/171380,
but without mass rebuilds.
This commit is contained in:
Bjørn Forsman
2022-05-27 20:22:02 +02:00
parent 41cc1d5d95
commit 8d5481d01c
+8 -1
View File
@@ -29076,7 +29076,14 @@ with pkgs;
pulseaudio-dlna = callPackage ../applications/audio/pulseaudio-dlna { };
pulseview = libsForQt514.callPackage ../applications/science/electronics/pulseview { };
pulseview = libsForQt514.callPackage ../applications/science/electronics/pulseview {
# use the same stdenv as libsForQt514 to fix build
boost = boost.override {
stdenv = if stdenv.cc.isGNU
then (if (stdenv.targetPlatform.isx86_64) then gcc10Stdenv else gcc9Stdenv)
else stdenv;
};
};
puredata = callPackage ../applications/audio/puredata { };
puredata-with-plugins = plugins: callPackage ../applications/audio/puredata/wrapper.nix { inherit plugins; };