mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-23 14:31:55 +03:00
examples: minimize nodejs-project example
This commit is contained in:
parent
3f1cbc8e93
commit
8db4cb1121
@ -3,9 +3,7 @@
|
||||
config,
|
||||
dream2nix,
|
||||
...
|
||||
}: let
|
||||
system = config.deps.stdenv.system;
|
||||
in {
|
||||
}: {
|
||||
imports = [
|
||||
dream2nix.modules.dream2nix.nodejs-package-json-v3
|
||||
dream2nix.modules.dream2nix.nodejs-granular-v3
|
||||
@ -33,9 +31,6 @@ in {
|
||||
name = lib.mkForce "app";
|
||||
version = lib.mkForce "1.0.0";
|
||||
|
||||
lock.lockFileRel =
|
||||
lib.mkForce "/locks/example-package-nodejs-no-lock/lock-${system}.json";
|
||||
|
||||
mkDerivation = {
|
||||
src = lib.cleanSource ./.;
|
||||
checkPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user