[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to add a "manual" job
From: |
Ludovic Courtès |
Subject: |
Re: How to add a "manual" job |
Date: |
Thu, 15 Aug 2013 17:45:23 +0200 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Glenn Morris <address@hidden> skribis:
> I saw some projects have a "manual" job that builds their documentation.
> I tried to add one for Emacs:
>
> http://git.savannah.gnu.org/cgit/hydra-recipes.git/commit/?id=4e17d34fadc9405551e551935ddb6068d913891d
>
> (I just tried to copy and adapt the syntax from existing examples,
> so I might well have got something wrong...)
>
> But it doesn't seem to have had any effect:
> http://hydra.nixos.org/jobset/gnu/emacs-trunk#tabs-jobs
Turns out it’s slightly more complex.
emacs/release.nix starts with “import ../gnu-jobs.nix”, which is what
define the actual set of jobs. So the ‘manual’ attribute you added is
just ignored.
Instead, I can think of two options:
1. Add a ‘postDist’ in the ‘tarball’ job that installs the manual (see
guile/release.nix for the details.)
2. Add an extra ‘manual’ job like this:
(import ../gnu-jobs.nix { ... }) // {
manual =
...;
})
HTH,
Ludo’.