mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-09-11 14:35:30 +03:00
format stuff!
This commit is contained in:
parent
f7da28d98f
commit
8924111bc1
@ -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
|
||||||
|
@ -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",
|
||||||
|
@ -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 =
|
||||||
|
Loading…
Reference in New Issue
Block a user