mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +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}:
|
{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 {
|
stdenv.mkDerivation {
|
||||||
name = "jam-2.5";
|
name = "jam-2.5";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -9,7 +15,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
ensureDir $out/bin
|
ensureDir $out/bin
|
||||||
cp bin.linux/jam $out/bin
|
cp ${bindir}/jam $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user