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

View File

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

View File

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