[Nix-dev] Hydra job nixpkgs:trunk:linuxPackages_2_6_39.blcr build 1451865: Failed with non-zero exit code

Yury G. Kudryashov urkud.urkud at gmail.com
Wed Oct 12 15:12:20 CEST 2011


Marco Maggesi wrote:

> 
> On Oct 12, 2011, at 2:57 PM, Yury G. Kudryashov wrote:
> 
>> Marco Maggesi wrote:
>> 
>>> Hi,
>>> 
>>> BLCR supports linux kernel up to version 2.6.38.
>>> How I am supposed to signal this fact to hydra?
>>> (So it avoids to start compilations that will inevitably fail.)
>>> Can an "assert" be good enough for this?
>> Why does hydra build blcr at all? It neither has meta.platforms nor is
>> listed in release.nix.
> 
> I added meta.platforms today.
> BTW: I am always reluctant to add jobs to hydra.  I hope it doesn't
> disturb.
Then you can try
meta.platfroms = stdenv.lib.optional (builtins.compareVersions 
kernel.version 2.6.39 == -1) stdenv.lib.platforms.linux;
I'm not sure whether assert is better than this solution.
-- 
Yury G. Kudryashov,
mailto: urkud at mccme.ru



More information about the nix-dev mailing list