{ allowUnfree = true; packageOverrides = pkgs: { foo = pkgs.foo.override { stdenv = pkgs.clangStdenv; }; }; }