Commit Graph

47 Commits

Author SHA1 Message Date
Theodore Ni
98bd1d651d
gambit: reenable stackprotector on aarch64-darwin
The original error that required disabling the stack protector on
aarch64-darwin has been fixed in GCC.
2022-09-04 10:19:14 -07:00
Alyssa Ross
fd78240ac8
treewide: use lib.getLib for OpenSSL libraries
At some point, I'd like to make another attempt at
71f1f4884b ("openssl: stop static binaries referencing libs"), which
was reverted in 195c7da07d.  One problem with my previous attempt is
that I moved OpenSSL's libraries to a lib output, but many dependent
packages were hardcoding the out output as the location of the
libraries.  This patch fixes every such case I could find in the tree.
It won't have any effect immediately, but will mean these packages
will automatically use an OpenSSL lib output if it is reintroduced in
future.

This patch should cause very few rebuilds, because it shouldn't make
any change at all to most packages I'm touching.  The few rebuilds
that are introduced come from when I've changed a package builder not
to use variable names like openssl.out in scripts / substitution
patterns, which would be confusing since they don't hardcode the
output any more.

I started by making the following global replacements:

    ${pkgs.openssl.out}/lib -> ${lib.getLib pkgs.openssl}/lib
    ${openssl.out}/lib -> ${lib.getLib openssl}/lib

Then I removed the ".out" suffix when part of the argument to
lib.makeLibraryPath, since that function uses lib.getLib internally.

Then I fixed up cases where openssl was part of the -L flag to the
compiler/linker, since that unambigously is referring to libraries.

Then I manually investigated and fixed the following packages:

 - pycurl
 - citrix-workspace
 - ppp
 - wraith
 - unbound
 - gambit
 - acl2

I'm reasonably confindent in my fixes for all of them.

For acl2, since the openssl library paths are manually provided above
anyway, I don't think openssl is required separately as a build input
at all.  Removing it doesn't make a difference to the output size, the
file list, or the closure.

I've tested evaluation with the OfBorg meta checks, to protect against
introducing evaluation failures.
2022-03-30 15:10:00 +00:00
AlexKnauth
9cee4bccd1 gambit: bootstrap install gsc-boot 2021-12-22 10:17:45 -05:00
AlexKnauth
de2e77ec98 gambit: disable stackprotector on aarch64-darwin for now 2021-12-22 10:14:51 -05:00
Jason Felice
3ed996727f gambit: fix compiler paths
Prior to the recent merge, the full paths were specified here, so
gambit would get the full paths and not need to propagate the compiler
inputs.
2021-03-22 10:58:48 -04:00
Ben Siraphob
7273ebabfa
gambit: refactor (#113405) 2021-03-09 10:52:26 +01:00
Francois-Rene Rideau
0febc57883 gambit: support targets, modules 2020-11-06 12:03:59 -05:00
Francois-Rene Rideau
c0d11ea66c gambit-unstable: 2020-07-29 -> 2020-09-20 2020-11-06 12:03:58 -05:00
Francois-Rene Rideau
cb06aefd39 gambit-unstable: 2020-05-15 -> 2020-07-29 2020-08-02 12:29:28 -04:00
Jason Felice
61335d51ac gambit: disable use of poll() on Darwin
Darwin has a bug which affects the use of poll() with a tty fd,
which affects gambit's REPL when at a console, causing 100% CPU
usage.

Gambit recommends this is disabled on Darwin.
2020-05-19 16:06:41 -05:00
Francois-Rene Rideau
da4aa17343 gambit-unstable: 2020-02-24 -> 2020-05-13 2020-05-17 15:50:59 -04:00
Francois-Rene Rideau
9456522528 Refactor Gambit support
Refactor the build rule:
- Put files in $out/gambit instead of $out.
- Make the optimization setting easy to override.
- Make use of gccStdenv more explicit at this level.
- Support new-style runtime options for forcing UTF-8 I/O.
- Override the PACKAGE_VERSION and PACKAGE_STRING with git version.
- Note that the license is lgpl21, not lpgl2 (Note: also dual asl20).
- Try and fail to meaningfully add missing runtimeDeps.
- Build using NIX_BUILD_CORES.
2020-05-17 15:48:12 -04:00
Francois-Rene Rideau
32b3758b3d gambit-unstable: 2019-07-21 -> 2020-02-24 2020-02-26 20:37:03 -05:00
Francois-Rene Rideau
0d422d5007 gambit: set CC to full path, fixes #78921
Use -Os rather than -O2 as our compilation flag, document why.

Document why we always use gcc over clang.

Fix openssl path in gambit.
Stop trying to make static openssl.
2020-02-26 20:37:03 -05:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Frederik Rietdijk
fe9a3e3e63 Merge staging-next into staging 2019-08-17 09:39:23 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Francois-Rene Rideau
cb2059e29e gambit-unstable: 2019-02-05 -> 2019-07-21 2019-08-14 00:49:41 -04:00
Francois-Rene Rideau
7419ce7106 gambit-unstable: 2019-01-18 -> 2019-02-05
NB: Same as release 4.9.3
2019-02-09 01:09:20 -05:00
Francois-Rene Rideau
ce67cd532c gambit: 4.9.2 -> 4.9.3 2019-02-08 00:06:01 -05:00
Francois-Rene Rideau
83a48f7ac4 gambit-unstable : 2018-11-19 -> 2019-01-18
This is actually the same as the stable version 4.9.2.
2019-01-26 12:05:54 -05:00
Francois-Rene Rideau
d9e452d8eb gambit: 4.9.1 -> 4.9.2 2019-01-26 12:05:54 -05:00
Francois-Rene Rideau
f22db06db6 gambit: bootstrap from gitless tarball 2019-01-26 12:05:53 -05:00
Francois-Rene Rideau
7ffdb45101 gambit-unstable: 2018-09-03 -> 2018-11-16 2018-11-19 19:19:48 -05:00
Francois-Rene Rideau
bbd4888dc3 gambit: 4.9.0 -> 4.9.1 2018-11-19 18:04:51 -05:00
Francois-Rene Rideau
7306e54c2c gambit-unstable: 2018-08-06 -> 2018-09-03 2018-09-06 11:43:48 -04:00
Francois-Rene Rideau
c1219b6892 gambit: 4.8.9 -> 4.9.0 2018-09-06 11:43:48 -04:00
Francois-Rene Rideau
d9f419bd57 gambit, gerbil: use stdenv = gccStdenv
clang builds gambit 10x slower to produce code that is 3x slower than
when using GCC. So use GCC to build Gambit and Gerbil.
2018-08-11 14:07:15 -04:00
Francois-Rene Rideau
0dd9403a34 gambit-unstable: 2018-05-30 -> 2018-08-06 2018-08-10 13:11:11 -04:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Francois-Rene Rideau
69926e61ea gambit-unstable: 2018-03-26 -> 2018-05-30 2018-05-29 22:54:18 -04:00
Francois-Rene Rideau
3816372808 gambit: use release tarball, not git, for 4.8.9 2018-05-29 22:54:17 -04:00
Francois-Rene Rideau
d50469adc7 gambit-unstable: init at 2018-03-26 2018-04-04 07:39:48 -04:00
Mario Rodas
0874789dd5 gambit: enable on darwin 2018-03-26 17:00:52 -05:00
Francois-Rene Rideau
b5f475c9b5 gambit: 4.8.8-435-gd1991ba7 -> 4.8.9 2018-02-27 08:49:13 -05:00
Francois-Rene Rideau
abfaa5a36e gambit: 4.8.8-427-g37b111a5 -> 4.8.8-435-gd1991ba7 2018-02-16 09:38:43 -05:00
Francois-Rene Rideau
aa87655318 gambit: 4.8.8-415-g29ed48bb -> 4.8.8-427-g37b111a5 2018-01-07 10:00:21 -05:00
Francois-Rene Rideau
d75594e2d7 gambit: 4.8.8-300db59 -> 4.8.8-415-g29ed48bb 2017-11-18 15:33:24 -05:00
Francois-Rene Rideau
34739b3cc6 gambit: 4.8.8-f3ffeb6 -> 4.8.8-300db59 2017-09-22 11:30:07 -04:00
Francois-Rene Rideau
e78b820beb gambit: 4.8.6 -> 4.8.8-f3ffeb6
Using a yet unreleased development version of gambit,
so as to be able to build a recent gerbil.

Update the way gambit is bootstrapped, which involves building a
release version of gambit (which for a development gambit, is not the
same version as the current version of gambit).
2017-07-07 11:27:36 +01:00
Francois-Rene Rideau
43f9c60e92 gambit: 4.8.5 -> 4.8.6
Use higher optimization settings and include openssl interface.
2017-06-03 12:08:49 +01:00
Micxjo Funkcio
800d088c85
gambit: 4.7.3 -> 4.8.5 2016-04-08 01:23:22 -07:00
Austin Seipp
551ead935c gambit: 4.6.1 -> 4.7.3
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-10-24 23:04:48 -05:00
Bjørn Forsman
c9baba9212 Fix many package descriptions
(My OCD kicked in today...)

Remove repeated package names, capitalize first word, remove trailing
periods and move overlong descriptions to longDescription.

I also simplified some descriptions as well, when they were particularly
long or technical, often based on Arch Linux' package descriptions.

I've tried to stay away from generated expressions (and I think I
succeeded).

Some specifics worth mentioning:
 * cron, has "Vixie Cron" in its description. The "Vixie" part is not
   mentioned anywhere else. I kept it in a parenthesis at the end of the
   description.

 * ctags description started with "Exuberant Ctags ...", and the
   "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis
   at the end of description.

 * nix has the description "The Nix Deployment System". Since that
   doesn't really say much what it is/does (especially after removing
   the package name!), I changed that to "Powerful package manager that
   makes package management reliable and reproducible" (borrowed from
   nixos.org).

 * Tons of "GNU Foo, Foo is a [the important bits]" descriptions
   is changed to just [the important bits]. If the package name doesn't
   contain GNU I don't think it's needed to say it in the description
   either.
2014-08-24 22:31:37 +02:00
Michael Raskin
2eb6b07427 Update Gambit
svn path=/nixpkgs/trunk/; revision=26816
2011-04-13 06:31:45 +00:00
Michael Raskin
90c859d0c7 Add Gambit Scheme compiler
svn path=/nixpkgs/trunk/; revision=22026
2010-05-28 06:01:35 +00:00