Skip to content

Commit

Permalink
feat(nix): source filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
PoisonPhang committed Aug 28, 2024
1 parent ab705ce commit 1649a86
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion explorer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
pkgs.stdenv.mkDerivation {
pname = "pingpub-explorer";
version = "0.1.0";
src = ./.;
src = builtins.filterSource
(path: type:
type != "directory" || baseNameOf path != ".github")
(pkgs.lib.cleanSource ./.);

nativeBuildInputs = with pkgs; [
tree
Expand Down

0 comments on commit 1649a86

Please sign in to comment.