yarnLock = "${info.src}/yarn.lock";
yarnNix = ./yarn-packages.nix;
pkgConfig = {
+ all = {
+ buildInputs = [ yarn2nixPackage.src ];
+ };
uws = {
postInstall = ''
npx node-gyp rebuild > build_log.txt 2>&1 || true
'';
};
- # FIXME: build machine will contain some passwords in the nix store
railsRoot = stdenv.mkDerivation {
name = "mastodon_immae";
inherit mastodon;
builder = writeText "build_mastodon_immae" ''
source $stdenv/setup
set -a
- ${keys.mastodon.text}
+ SECRET_KEY_BASE=Dummy
+ OTP_SECRET=Dummy
set +a
cp -a $mastodon $out
cd $out