Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7177130c03 |
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 1,
|
|
||||||
"sourceRepo": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git",
|
|
||||||
"sourceCommit": "8354a2e04f56eea0a647e878ca19c5398c1e1f89",
|
|
||||||
"sourcePath": "quixos-instance/quixos-nix-helpers",
|
|
||||||
"exportName": "quixos-nix-helpers",
|
|
||||||
"mirrorRemote": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git"
|
|
||||||
}
|
|
||||||
@@ -521,7 +521,6 @@ EOF
|
|||||||
promptName ? null,
|
promptName ? null,
|
||||||
nodejsAttr ? "nodejs_24",
|
nodejsAttr ? "nodejs_24",
|
||||||
buildCommand ? "yarn build",
|
buildCommand ? "yarn build",
|
||||||
sourcePortals ? { },
|
|
||||||
buildEnv ? { },
|
buildEnv ? { },
|
||||||
nativeBuildInputs ? [ ],
|
nativeBuildInputs ? [ ],
|
||||||
devShellPackages ? [ ],
|
devShellPackages ? [ ],
|
||||||
@@ -561,13 +560,6 @@ EOF
|
|||||||
attrs
|
attrs
|
||||||
);
|
);
|
||||||
|
|
||||||
portalLinksFor = attrs:
|
|
||||||
lib.concatStringsSep "\n" (
|
|
||||||
lib.mapAttrsToList
|
|
||||||
(target: source: "ln -sfn ${source} ${lib.escapeShellArg target}")
|
|
||||||
attrs
|
|
||||||
);
|
|
||||||
|
|
||||||
bundleConfig = if bundle == null then { } else bundle;
|
bundleConfig = if bundle == null then { } else bundle;
|
||||||
bundleOutfile = bundleConfig.outfile or "server.mjs";
|
bundleOutfile = bundleConfig.outfile or "server.mjs";
|
||||||
bundlePlatform = bundleConfig.platform or "node";
|
bundlePlatform = bundleConfig.platform or "node";
|
||||||
@@ -639,9 +631,6 @@ EOF
|
|||||||
(old.nativeBuildInputs or [ ])
|
(old.nativeBuildInputs or [ ])
|
||||||
++ lib.optional (bundle != null) pkgs.esbuild
|
++ lib.optional (bundle != null) pkgs.esbuild
|
||||||
++ callOption nativeBuildInputs;
|
++ callOption nativeBuildInputs;
|
||||||
preConfigure = (old.preConfigure or "") + ''
|
|
||||||
${portalLinksFor (callOption sourcePortals)}
|
|
||||||
'';
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
${exportsFor (callOption buildEnv)}
|
${exportsFor (callOption buildEnv)}
|
||||||
@@ -681,7 +670,7 @@ EOF
|
|||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
packages = [
|
packages = [
|
||||||
nodejs
|
nodejs
|
||||||
pkgs.yarn-berry_4
|
project.yarn-freestanding
|
||||||
] ++ callOption devShellPackages;
|
] ++ callOption devShellPackages;
|
||||||
shellHook = devShellHookBase + callOption devShellHook;
|
shellHook = devShellHookBase + callOption devShellHook;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user