Update FPC binary expression
This commit is contained in:
parent
b1e388cefb
commit
6b962e6e9e
@ -1,6 +1,7 @@
|
||||
source $stdenv/setup
|
||||
|
||||
tar xf $src
|
||||
cd */
|
||||
tarballdir=$(pwd)
|
||||
for i in *.tar; do tar xvf $i; done
|
||||
echo "Deploying binaries.."
|
||||
|
@ -1,18 +1,18 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "fpc-2.4.0-binary";
|
||||
name = "fpc-2.6.0-binary";
|
||||
|
||||
src =
|
||||
if stdenv.system == "i686-linux" then
|
||||
fetchurl {
|
||||
url = "ftp://ftp.chg.ru/pub/lang/pascal/fpc/dist/2.4.0/i386-linux/fpc-2.4.0.i386-linux.tar";
|
||||
sha256 = "1zas9kp0b36zxqvb9i4idh2l0nb6qpmgah038l77w6las7ghh0dv";
|
||||
url = "http://sourceforge.net/projects/freepascal/files/Linux/2.6.0/fpc-2.6.0.i386-linux.tar";
|
||||
sha256 = "08yklvrfxvk59bxsd4rh1i6s3cjn0q06dzjs94h9fbq3n1qd5zdf";
|
||||
}
|
||||
else if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = "ftp://ftp.chg.ru/pub/lang/pascal/fpc/dist/2.4.0/x86_64-linux/fpc-2.4.0.x86_64-linux.tar";
|
||||
sha256 = "111d11g5ra55hjywx64ldwwflpimsy8zryvap68v0309nyd23f0z";
|
||||
url = "http://sourceforge.net/projects/freepascal/files/Linux/2.6.0/fpc-2.6.0.x86_64-linux.tar";
|
||||
sha256 = "0k9vi75k39y735fng4jc2vppdywp82j4qhzn7x4r6qjkad64d8lx";
|
||||
}
|
||||
else throw "Not supported on ${stdenv.system}.";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user