Merge pull request #267566 from marsam/update-racket

racket: 8.10 -> 8.11
This commit is contained in:
Mario Rodas
2023-11-29 23:31:51 -05:00
committed by GitHub
2 changed files with 7 additions and 4 deletions
@@ -50,7 +50,7 @@ in
stdenv.mkDerivation rec {
pname = "racket";
version = "8.10"; # always change at once with ./minimal.nix
version = "8.11"; # always change at once with ./minimal.nix
src = (lib.makeOverridable ({ name, sha256 }:
fetchurl {
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
}
)) {
name = "${pname}-${version}";
sha256 = "sha256-Dklj2iwX5/bVdCi9odz2Ttp0N+Lya7bMSLR/QXo9k6M=";
sha256 = "sha256-lIrXmTyTnk7n54zOvl7qN8CkbiKgYj66k3fgEolk93w=";
};
FONTCONFIG_FILE = fontsConf;
@@ -98,6 +98,10 @@ stdenv.mkDerivation rec {
--replace /bin/true ${coreutils}/bin/true
done
# Remove QuickScript register.rkt because it breaks on sandbox
# https://github.com/Metaxal/quickscript/issues/73
rm -f share/pkgs/quickscript/register.rkt
# The configure script forces using `libtool -o` as AR on Darwin. But, the
# `-o` option is only available from Apple libtool. GNU ar works here.
substituteInPlace src/ChezScheme/zlib/configure \
@@ -6,7 +6,7 @@ racket.overrideAttrs (oldAttrs: rec {
version = oldAttrs.version;
src = oldAttrs.src.override {
name = "${pname}-${version}";
sha256 = "sha256-k1NzmkiYgPkP42U+08Ljjb3FEU7OM3lEaXsLH29hveA=";
sha256 = "sha256-IsWWpZi5JXZV2AlLTjFtFj7nu15jWw4Htzgs2Wew54U=";
};
meta = oldAttrs.meta // {
@@ -16,6 +16,5 @@ racket.overrideAttrs (oldAttrs: rec {
and the pkg library are still bundled.
'';
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
broken = false; # Minimal build does not require working FFI
};
})