From 9a9b1952fe5d9095f3d13f0ad9e66b448f2ee91f Mon Sep 17 00:00:00 2001 From: Hraban Luyat Date: Wed, 24 Aug 2022 09:11:19 +0200 Subject: [PATCH] sbcl: 2.2.6 -> 2.2.9 --- pkgs/development/compilers/sbcl/2.2.9.nix | 4 ++++ pkgs/development/compilers/sbcl/common.nix | 4 ++-- pkgs/top-level/all-packages.nix | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 pkgs/development/compilers/sbcl/2.2.9.nix diff --git a/pkgs/development/compilers/sbcl/2.2.9.nix b/pkgs/development/compilers/sbcl/2.2.9.nix new file mode 100644 index 000000000000..22e0e30f392b --- /dev/null +++ b/pkgs/development/compilers/sbcl/2.2.9.nix @@ -0,0 +1,4 @@ +import ./common.nix { + version = "2.2.9"; + sha256 = "sha256-fr69bSAj//cHewNy+hFx+IBSm97GEE8gmDKXwv63wXI="; +} diff --git a/pkgs/development/compilers/sbcl/common.nix b/pkgs/development/compilers/sbcl/common.nix index 05fa6b390897..261c14106a68 100644 --- a/pkgs/development/compilers/sbcl/common.nix +++ b/pkgs/development/compilers/sbcl/common.nix @@ -32,8 +32,8 @@ stdenv.mkDerivation rec { url = "https://github.com/sbcl/sbcl/commit/8fa3f76fba2e8572e86ac6fc5754e6b2954fc774.patch"; sha256 = "1ic531pjnws1k3xd03a5ixbq8cn10dlh2nfln59k0vbm0253g3lv"; }) - ++ lib.optionals (lib.versionAtLeast version "2.1.10") [ - # Fix pending upstream inclusion on -fno-common toolchains: + ++ lib.optionals (lib.versionAtLeast version "2.1.10" && lib.versionOlder version "2.2.9") [ + # Fix included in SBCL trunk since 2.2.9: # https://bugs.launchpad.net/sbcl/+bug/1980570 (fetchpatch { name = "darwin-fno-common.patch"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d1c5fd77f4d1..4a400d3dd52b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14869,7 +14869,8 @@ with pkgs; sbcl_2_1_11 = callPackage ../development/compilers/sbcl/2.1.11.nix {}; sbcl_2_2_4 = callPackage ../development/compilers/sbcl/2.2.4.nix {}; sbcl_2_2_6 = callPackage ../development/compilers/sbcl/2.2.6.nix {}; - sbcl = sbcl_2_2_6; + sbcl_2_2_9 = callPackage ../development/compilers/sbcl/2.2.9.nix {}; + sbcl = sbcl_2_2_9; roswell = callPackage ../development/tools/roswell { };