};
name = "lemmy-ui";
- version = pinData.version;
+ version = pinData.uiVersion;
src = fetchFromGitHub {
owner = "LemmyNet";
sha256 = pinData.uiYarnDepsSha256;
};
- postPatch = ''
- echo "export const VERSION = '${version}';" > "src/shared/version.ts"
- '';
-
yarnPreBuild = ''
export npm_config_nodedir=${nodejs}
'';
export HOME=$PWD/yarn_home
ln -sf $PWD/node_modules $PWD/deps/lemmy-ui/
+ echo 'export const VERSION = "${version}";' > $PWD/deps/lemmy-ui/src/shared/version.ts
yarn --offline build:prod
'';