git clone https://github.com/magnetophon/faustCompressors.git
cd faustCompressors
faust2lv2 FFcompressor.dsp
I get:
lv2.cpp:292:37: fatal error: boost/circular_buffer.hpp: No such file or directory
When I run this inside that repo:
nix-shell $NIXPKGS -A magnetophonDSP.faustCompressors
faust2lv2 FFcompressor.dsp
it just works.
It used to work outside of nix-shell too, for the last 2 years.
faust2lv2 is a wrapped shell-script.
I tried to debug by adding some relevant echo statements to it, echoing the exact gcc command being called, and echoing env | grep boost.
It outputs the exact same thing if I run it from normal shell or nix-shell.
See: https://hastebin.com/owiyamowot.php (save to /tmp/ to work with the wrapper)
The echo commands I added are from line 190 trough line 198.
Issue description
When I run:
I get:
When I run this inside that repo:
it just works.
It used to work outside of nix-shell too, for the last 2 years.
faust2lv2
is a wrapped shell-script. I tried to debug by adding some relevant echo statements to it, echoing the exactgcc
command being called, and echoingenv | grep boost
. It outputs the exact same thing if I run it from normal shell or nix-shell. See: https://hastebin.com/owiyamowot.php (save to /tmp/ to work with the wrapper) The echo commands I added are from line 190 trough line 198.In nix-shell it finishes, and in normal shell it gets till line 195. Here is the wrapper: https://hastebin.com/jirojujifa.bash
I also tried reverting the last few faust commits and rebuilding from there. No dice.
Probably related to: https://github.com/NixOS/nixpkgs/pull/33495
cc @pmahoney
Technical details
"x86_64-linux"
Linux 4.14.12-rt10, NixOS, 18.03.git.70d6e3c (Impala)
yes
yes
nix-env (Nix) 1.11.16
""
"nixos-18.03pre125750.a6dca042722"
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs