mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Fixing jam for i686-linux. That should allow building trigger rally.
svn path=/nixpkgs/trunk/; revision=32557
This commit is contained in:
parent
bfb0389d6c
commit
675e16f805
@ -1,5 +1,11 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
let
|
||||
bindir = if stdenv.system == "i686-linux" then "bin.linuxx86"
|
||||
else if stdenv.system == "x86_64-linux" then "bin.linux"
|
||||
else throw "Unsupported platform by now";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "jam-2.5";
|
||||
src = fetchurl {
|
||||
@ -9,7 +15,7 @@ stdenv.mkDerivation {
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin
|
||||
cp bin.linux/jam $out/bin
|
||||
cp ${bindir}/jam $out/bin
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user