synapse-admin: fix build after 7753a94a35
The update to nodejs v18 in 7753a94a35
broke this derivation with a
error:0308010C:digital envelope routines::unsupported
in react-scripts. This adds a workaround for now as I have not tried
updating to see if upstream has fixed this.
This commit is contained in:
parent
d1dd3b2aad
commit
b752a370b1
|
@ -23,6 +23,9 @@ mkYarnPackage rec {
|
||||||
NODE_ENV = "production";
|
NODE_ENV = "production";
|
||||||
${if baseUrl != null then "REACT_APP_SERVER" else null} = baseUrl;
|
${if baseUrl != null then "REACT_APP_SERVER" else null} = baseUrl;
|
||||||
|
|
||||||
|
# error:0308010C:digital envelope routines::unsupported
|
||||||
|
NODE_OPTIONS = "--openssl-legacy-provider";
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue