racket: 8.5 -> 8.6

https://download.racket-lang.org/v8.6.html
This commit is contained in:
Mario Rodas 2022-08-12 04:20:00 +00:00
parent 3ec67444cf
commit 359c6e9a01
3 changed files with 13 additions and 15 deletions

View file

@ -49,7 +49,7 @@ in
stdenv.mkDerivation rec {
pname = "racket";
version = "8.5"; # always change at once with ./minimal.nix
version = "8.6"; # always change at once with ./minimal.nix
src = (lib.makeOverridable ({ name, sha256 }:
fetchurl {
@ -58,14 +58,13 @@ stdenv.mkDerivation rec {
}
)) {
name = "${pname}-${version}";
sha256 = "sha256-dWnOnpxh5zmou9eqVdcfhuCr8ts1CTqqEF1j/dk0jhs=";
sha256 = "sha256-Lv8+l7x6EM+gMg2psH8NSIZTsLW4SQMiyC84SuD6Gig=";
};
FONTCONFIG_FILE = fontsConf;
LD_LIBRARY_PATH = libPath;
NIX_LDFLAGS = lib.concatStringsSep " " [
(lib.optionalString (stdenv.cc.isGNU && ! stdenv.isDarwin) "-lgcc_s")
(lib.optionalString stdenv.isDarwin "-framework CoreFoundation")
];
nativeBuildInputs = [ cacert wrapGAppsHook ];
@ -89,7 +88,7 @@ stdenv.mkDerivation rec {
preConfigure = ''
unset AR
for f in src/lt/configure src/cs/c/configure src/bc/src/string.c src/ChezScheme/workarea; do
for f in src/lt/configure src/cs/c/configure src/bc/src/string.c; do
substituteInPlace "$f" \
--replace /usr/bin/uname ${coreutils}/bin/uname \
--replace /bin/cp ${coreutils}/bin/cp \

View file

@ -1,11 +1,10 @@
--- old/src/mac/codesign.rkt 2022-01-08 18:25:53.000000000 -0500
+++ new/src/mac/codesign.rkt 2022-02-15 15:49:51.000000000 -0500
@@ -17,6 +17,5 @@
#:args (file)
--- old/src/mac/codesign.rkt
+++ new/src/mac/codesign.rkt
@@ -18,6 +18,6 @@
file))
-(if remove?
- (remove-signature file)
- (add-ad-hoc-signature file))
+(remove-signature file)
+(add-ad-hoc-signature file)
(void
- (if remove?
+ (if #t
(remove-signature file)
(add-ad-hoc-signature file)))

View file

@ -6,7 +6,7 @@ racket.overrideAttrs (oldAttrs: rec {
version = oldAttrs.version;
src = oldAttrs.src.override {
name = "${pname}-${version}";
sha256 = "sha256-VdWF46yfuqz76ECm7HTOPnvun+heMiE/Gz5Pb1k8rjk=";
sha256 = "sha256-AdUJ1f/YKSD/S7Qd6EwH7MavkSKVNxatQ9hKp7OTn0g=";
};
meta = oldAttrs.meta // {