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 { stdenv.mkDerivation rec {
pname = "racket"; 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 }: src = (lib.makeOverridable ({ name, sha256 }:
fetchurl { fetchurl {
@ -58,14 +58,13 @@ stdenv.mkDerivation rec {
} }
)) { )) {
name = "${pname}-${version}"; name = "${pname}-${version}";
sha256 = "sha256-dWnOnpxh5zmou9eqVdcfhuCr8ts1CTqqEF1j/dk0jhs="; sha256 = "sha256-Lv8+l7x6EM+gMg2psH8NSIZTsLW4SQMiyC84SuD6Gig=";
}; };
FONTCONFIG_FILE = fontsConf; FONTCONFIG_FILE = fontsConf;
LD_LIBRARY_PATH = libPath; LD_LIBRARY_PATH = libPath;
NIX_LDFLAGS = lib.concatStringsSep " " [ NIX_LDFLAGS = lib.concatStringsSep " " [
(lib.optionalString (stdenv.cc.isGNU && ! stdenv.isDarwin) "-lgcc_s") (lib.optionalString (stdenv.cc.isGNU && ! stdenv.isDarwin) "-lgcc_s")
(lib.optionalString stdenv.isDarwin "-framework CoreFoundation")
]; ];
nativeBuildInputs = [ cacert wrapGAppsHook ]; nativeBuildInputs = [ cacert wrapGAppsHook ];
@ -89,7 +88,7 @@ stdenv.mkDerivation rec {
preConfigure = '' preConfigure = ''
unset AR 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" \ substituteInPlace "$f" \
--replace /usr/bin/uname ${coreutils}/bin/uname \ --replace /usr/bin/uname ${coreutils}/bin/uname \
--replace /bin/cp ${coreutils}/bin/cp \ --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 --- old/src/mac/codesign.rkt
+++ new/src/mac/codesign.rkt 2022-02-15 15:49:51.000000000 -0500 +++ new/src/mac/codesign.rkt
@@ -17,6 +17,5 @@ @@ -18,6 +18,6 @@
#:args (file)
file)) file))
-(if remove? (void
- (remove-signature file) - (if remove?
- (add-ad-hoc-signature file)) + (if #t
+(remove-signature file) (remove-signature file)
+(add-ad-hoc-signature file) (add-ad-hoc-signature file)))

View File

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