feat: Change nix formatter to alejandra

This commit is contained in:
ulic-youthlic 2025-11-09 06:25:03 +08:00
parent 0b8b647f05
commit b4c3dfec42
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
229 changed files with 2528 additions and 2884 deletions

View file

@ -3,29 +3,28 @@
buildNpmPackage,
importNpmLock,
...
}:
let
}: let
inherit (srcs.OuterWildsTextAdventure) src date version;
in
buildNpmPackage {
pname = "OuterWildsTextAdventure";
version = "0-unstable.${date}-git${version}";
inherit src;
buildNpmPackage {
pname = "OuterWildsTextAdventure";
version = "0-unstable.${date}-git${version}";
inherit src;
npmDeps = importNpmLock {
npmRoot = src;
};
npmDeps = importNpmLock {
npmRoot = src;
};
npmBuildScript = "bundle";
npmBuildScript = "bundle";
installPhase = ''
runHook preInstall
installPhase = ''
runHook preInstall
mkdir -p $out
cp -rt $out/ index.html data p5.min.js bundle.js bundle.js.map
mkdir -p $out
cp -rt $out/ index.html data p5.min.js bundle.js bundle.js.map
runHook postInstall
'';
runHook postInstall
'';
npmConfigHook = importNpmLock.npmConfigHook;
}
npmConfigHook = importNpmLock.npmConfigHook;
}