Merge pull request #215121 from ncfavier/doc-gitignore
This commit is contained in:
commit
13088e285e
@ -1,6 +1,5 @@
|
|||||||
{ pkgs ? (import ./.. { }), nixpkgs ? { }}:
|
{ pkgs ? (import ./.. { }), nixpkgs ? { }}:
|
||||||
let
|
let
|
||||||
lib = pkgs.lib;
|
|
||||||
doc-support = import ./doc-support { inherit pkgs nixpkgs; };
|
doc-support = import ./doc-support { inherit pkgs nixpkgs; };
|
||||||
in pkgs.stdenv.mkDerivation {
|
in pkgs.stdenv.mkDerivation {
|
||||||
name = "nixpkgs-manual";
|
name = "nixpkgs-manual";
|
||||||
@ -15,7 +14,7 @@ in pkgs.stdenv.mkDerivation {
|
|||||||
xmlformat
|
xmlformat
|
||||||
];
|
];
|
||||||
|
|
||||||
src = lib.cleanSource ./.;
|
src = pkgs.nix-gitignore.gitignoreSource [] ./.;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
ln -s ${doc-support} ./doc-support/result
|
ln -s ${doc-support} ./doc-support/result
|
||||||
|
Loading…
Reference in New Issue
Block a user