From 98176397b5623d11af3e1fe2591ecc8da3ac0407 Mon Sep 17 00:00:00 2001 From: notgne2 Date: Mon, 17 Aug 2020 22:50:03 -0700 Subject: [PATCH] Update 'default.nix' --- default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/default.nix b/default.nix index de9a7d7..0697f7b 100644 --- a/default.nix +++ b/default.nix @@ -7,16 +7,17 @@ , optipng , pngquant , libwebp -, ... -}: -let - pnpm2nix = pkgs.callPackage ( + +, pnpm2nix ? pkgs.callPackage ( builtins.fetchGit { url = "https://github.com/nix-community/pnpm2nix.git"; rev = "f67be0925a91b92f54d99dbdead7a06920b979ac"; } - ) {}; + ) {} +, ... +}: +let nodeCleanSourceFilter = name: type: pkgs.lib.cleanSourceFilter name type && ((baseNameOf name) != "node_modules");