aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-05 13:03:30 -0300
committerEuAndreh <eu@euandre.org>2021-01-05 13:03:30 -0300
commitc12428bcb12e4e0b38e8b28d725a40cbc91a8517 (patch)
tree5cdf2fb367578038ceba33cdc9d44010ab8e0c68 /default.nix
parentmusic/*.ly: Remove whitespaces (diff)
downloadeuandre.org-c12428bcb12e4e0b38e8b28d725a40cbc91a8517.tar.gz
euandre.org-c12428bcb12e4e0b38e8b28d725a40cbc91a8517.tar.xz
Add gitignore rule for generated assets and match with gitignoreSource
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index f949982..81429bb 100644
--- a/default.nix
+++ b/default.nix
@@ -1,7 +1,13 @@
let
niv-sources = import ./nix/sources.nix;
pkgs = import niv-sources.nixpkgs { };
- src = pkgs.nix-gitignore.gitignoreSource [ "!.git" ] ./.;
+ src = pkgs.nix-gitignore.gitignoreSourcePure
+ [
+ "/result*"
+ "/_site/"
+ "/.jekyll-cache/"
+ ]
+ ./.;
utils-i18n = pkgs.callPackage ./nix/utils-i18n.nix { };
pkgs-next = pkgs.callPackage ./nix/nixpkgs-next.nix { };