about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/default.nix b/doc/default.nix
index 1d5fa4811a36..ac405c379038 100644
--- a/doc/default.nix
+++ b/doc/default.nix
@@ -1,6 +1,5 @@
 { pkgs ? (import ./.. { }), nixpkgs ? { }}:
 let
-  lib = pkgs.lib;
   doc-support = import ./doc-support { inherit pkgs nixpkgs; };
 in pkgs.stdenv.mkDerivation {
   name = "nixpkgs-manual";
@@ -15,7 +14,7 @@ in pkgs.stdenv.mkDerivation {
     xmlformat
   ];
 
-  src = lib.cleanSource ./.;
+  src = pkgs.nix-gitignore.gitignoreSource [] ./.;
 
   postPatch = ''
     ln -s ${doc-support} ./doc-support/result