faust: fix compiler flags when used outside nix shell#126808
faust: fix compiler flags when used outside nix shell#126808SuperSandro2000 merged 1 commit intoNixOS:masterfrom
Conversation
Fixes NixOS#78610 The issue is some additional environment variables added to the nix compiler wrappers that also need to be exported by the faust wrapper. This "wrapWithBuildEnv" solution is very hacky, but I don't know of a better solution.
|
Result of 10 packages built successfully:
Result of 1 package skipped due to time constraints:
21 packages built successfully:
12 suggestions:
|
Fixes #78610
The issue is some additional environment variables added to the nix
compiler wrappers that also need to be exported by the faust
wrapper.
This "wrapWithBuildEnv" solution is very hacky, but I
don't know of a better solution.
Motivation for this change
Many faust scripts not working outside of nix-shell
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)