format stuff!

This commit is contained in:
hsjobeki 2023-10-22 22:56:43 +02:00 committed by Johannes Kirschbauer
parent f7da28d98f
commit 8924111bc1
No known key found for this signature in database
3 changed files with 8 additions and 11 deletions

View File

@ -12,9 +12,9 @@
inherit (config.deps) fetchurl;
nodejsLockUtils = import ../../../lib/internal/nodejsLockUtils.nix { inherit lib; };
graphUtils = import ../../../lib/internal/graphUtils.nix { inherit lib; };
utils = import ./utils.nix { inherit lib; };
nodejsLockUtils = import ../../../lib/internal/nodejsLockUtils.nix {inherit lib;};
graphUtils = import ../../../lib/internal/graphUtils.nix {inherit lib;};
utils = import ./utils.nix {inherit lib;};
isLink = plent: plent ? link && plent.link;
@ -86,7 +86,7 @@
allPaths =
acc.${entry.name}.${version}.info.allPaths
or {}
// { ${pkg.info.initialPath} = true; };
// {${pkg.info.initialPath} = true;};
};
}
) (entry.value);
@ -253,7 +253,7 @@
'';
buildPhase = ''
echo "BUILDING... $name"
if [ "$(jq -e '.scripts.build' ./package.json)" != "null" ]; then
echo "BUILDING... $name"
export HOME=.virt

View File

@ -82,7 +82,7 @@
options.info.fileSystem = l.mkOption {
type = t.raw;
};
/*
"bin": {
"esparse": "bin/esparse.js",

View File

@ -1,15 +1,12 @@
{lib,
}: let
{lib}: let
l = lib // builtins;
# cfg = config.WIP-nodejs-builder-v3;
nodejsLockUtils = import ../../../lib/internal/nodejsLockUtils.nix {inherit lib;};
graphUtils = import ../../../lib/internal/graphUtils.nix {inherit lib;};
isLink = plent: plent ? link && plent.link;
getInfo = path: plent: {
initialPath = path;
initialState =