mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00: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