templates: Make devshell work properly
This commit is contained in:
parent
833f97c3d3
commit
c9334a2a76
|
@ -7,6 +7,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
dream2nix.modules.dream2nix.nodejs-package-json-v3
|
dream2nix.modules.dream2nix.nodejs-package-json-v3
|
||||||
dream2nix.modules.dream2nix.nodejs-granular-v3
|
dream2nix.modules.dream2nix.nodejs-granular-v3
|
||||||
|
dream2nix.modules.dream2nix.nodejs-devshell-v3
|
||||||
];
|
];
|
||||||
|
|
||||||
deps = {nixpkgs, ...}: {
|
deps = {nixpkgs, ...}: {
|
||||||
|
@ -23,6 +24,8 @@
|
||||||
yj < $out/package.yaml > $out/package.json
|
yj < $out/package.yaml > $out/package.json
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [config.deps.yj];
|
||||||
|
|
||||||
# The default phase (which is hidden in `preInstallPhases`) will
|
# The default phase (which is hidden in `preInstallPhases`) will
|
||||||
# copy the full node_modules directory to the output, and symlink
|
# copy the full node_modules directory to the output, and symlink
|
||||||
# executables and whatnot.
|
# executables and whatnot.
|
||||||
|
@ -41,4 +44,11 @@
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nodejs-devshell-v3.nodeModules = {
|
||||||
|
nodejs-granular-v3.deps.sharp."0.28.3".mkDerivation.buildInputs = with config.deps; [
|
||||||
|
vips
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
1
packages/templates/lock.json
Symbolic link
1
packages/templates/lock.json
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
package-lock.json
|
14899
packages/templates/package-lock.json
generated
Normal file
14899
packages/templates/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue