aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-03 21:58:26 -0300
committerEuAndreh <eu@euandre.org>2019-06-03 21:58:26 -0300
commitd523cddb5df60793003d249d2b75f1e6f2f6e910 (patch)
tree7f13ded1af388855b4b07d736fd045c43a3bf17c
parent... (become brittle) over time (diff)
downloadeuandre.org-d523cddb5df60793003d249d2b75f1e6f2f6e910.tar.gz
euandre.org-d523cddb5df60793003d249d2b75f1e6f2f6e910.tar.xz
Inline declaration of rootSrc
-rw-r--r--default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/default.nix b/default.nix
index 6313fba..7344b62 100644
--- a/default.nix
+++ b/default.nix
@@ -5,7 +5,6 @@ let
sha256 = "0hk4y2vkgm1qadpsm4b0q1vxq889jhxzjx3ragybrlwwg54mzp4f";
}) { };
pkgs = pkgsUnstable;
- rootSrc = pkgs.nix-gitignore.gitignoreSource [ ] ./.;
# Taken from:
# http://www.cs.yale.edu/homes/lucas.paul/posts/2017-04-10-hakyll-on-nix.html
@@ -23,7 +22,7 @@ let
in rec {
utils = import ./utils.nix {
pkgs = pkgs;
- src = rootSrc;
+ src = pkgs.nix-gitignore.gitignoreSource [ ] ./.;
baseName = "website";
};
subtasks = rec {