Reformat nix source file using nixfmt
This commit is contained in:
parent
2e4a532958
commit
9201969c1b
220 changed files with 3169 additions and 2487 deletions
|
|
@ -3,28 +3,29 @@
|
|||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue