forked from lix-project/hydra
* Build Hydra with the Nix Perl bindings.
This commit is contained in:
parent
b9c1f9aca7
commit
66f3547fe7
2 changed files with 20 additions and 5 deletions
17
deps.nix
17
deps.nix
|
@ -2,6 +2,21 @@
|
||||||
|
|
||||||
with pkgs;
|
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.CatalystDevel
|
||||||
perlPackages.CatalystPluginSessionStoreFastMmap
|
perlPackages.CatalystPluginSessionStoreFastMmap
|
||||||
perlPackages.CatalystPluginStackTrace
|
perlPackages.CatalystPluginStackTrace
|
||||||
|
@ -20,5 +35,5 @@ with pkgs;
|
||||||
perlPackages.NetTwitterLite
|
perlPackages.NetTwitterLite
|
||||||
perlPackages.PadWalker
|
perlPackages.PadWalker
|
||||||
perlPackages.DataDump
|
perlPackages.DataDump
|
||||||
|
nixPerl
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ let
|
||||||
|
|
||||||
tarball =
|
tarball =
|
||||||
{ hydraSrc ? {outPath = ./.; rev = 1234;}
|
{ hydraSrc ? {outPath = ./.; rev = 1234;}
|
||||||
, nixpkgs ? ../../nixpkgs
|
, nixpkgs ? ../nixpkgs
|
||||||
, officialRelease ? false
|
, officialRelease ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -59,15 +59,15 @@ let
|
||||||
|
|
||||||
build =
|
build =
|
||||||
{ tarball ? jobs.tarball {}
|
{ tarball ? jobs.tarball {}
|
||||||
, nixpkgs ? ../../nixpkgs
|
, nixpkgs ? ../nixpkgs
|
||||||
, system ? "i686-linux"
|
, system ? "x86_64-linux"
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let pkgs = import nixpkgs {inherit system;}; in
|
let pkgs = import nixpkgs {inherit system;}; in
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
||||||
let nix = nixUnstable; in
|
let nix = nixSqlite; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "hydra" + (if tarball ? version then "-" + tarball.version else "");
|
name = "hydra" + (if tarball ? version then "-" + tarball.version else "");
|
||||||
|
|
Loading…
Reference in a new issue