* Build Hydra with the Nix Perl bindings.

This commit is contained in:
Eelco Dolstra 2010-03-04 15:11:01 +00:00
parent b9c1f9aca7
commit 66f3547fe7
2 changed files with 20 additions and 5 deletions

View file

@ -2,6 +2,21 @@
with pkgs;
let
nixPerl = buildPerlPackage {
name = "Nix-0.15";
src = fetchsvn {
url = https://svn.nixos.org/repos/nix/nix-perl/trunk;
rev = 20373;
sha256 = "153wj8kcdf9hzg89bjm8s8d6byrhcw0dazzrwc04a7g79j5xjfaj";
};
NIX_PREFIX = nixSqlite;
doCheck = false; # tests currently don't work
};
in
[ perlPackages.CatalystDevel
perlPackages.CatalystPluginSessionStoreFastMmap
perlPackages.CatalystPluginStackTrace
@ -20,5 +35,5 @@ with pkgs;
perlPackages.NetTwitterLite
perlPackages.PadWalker
perlPackages.DataDump
nixPerl
]

View file

@ -6,7 +6,7 @@ let
tarball =
{ hydraSrc ? {outPath = ./.; rev = 1234;}
, nixpkgs ? ../../nixpkgs
, nixpkgs ? ../nixpkgs
, officialRelease ? false
}:
@ -59,15 +59,15 @@ let
build =
{ tarball ? jobs.tarball {}
, nixpkgs ? ../../nixpkgs
, system ? "i686-linux"
, nixpkgs ? ../nixpkgs
, system ? "x86_64-linux"
}:
let pkgs = import nixpkgs {inherit system;}; in
with pkgs;
let nix = nixUnstable; in
let nix = nixSqlite; in
stdenv.mkDerivation {
name = "hydra" + (if tarball ? version then "-" + tarball.version else "");