nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

llvmPackages_12.compiler-rt: move codesign patch into versioned dir

All LLVM versions < 12 have been removed, so this patch can live in the
versioned directory, simplifying the patch list in the process.

+3 -7
pkgs/development/compilers/llvm/common/compiler-rt/7-12-codesign.patch pkgs/development/compilers/llvm/12/compiler-rt/codesign.patch
+3 -7
pkgs/development/compilers/llvm/common/default.nix
··· 1002 1002 ); 1003 1003 1004 1004 compiler-rtPatches = 1005 - lib.optionals (lib.versions.major metadata.release_version == "12") [ 1006 - # Revert compiler-rt commit that makes codesign mandatory 1007 - ./compiler-rt/7-12-codesign.patch 1008 - ] 1009 - ++ lib.optional ( 1010 - lib.versionAtLeast metadata.release_version "13" && lib.versionOlder metadata.release_version "15" 1011 - ) (metadata.getVersionFile "compiler-rt/codesign.patch") # Revert compiler-rt commit that makes codesign mandatory 1005 + lib.optional (lib.versionOlder metadata.release_version "15") ( 1006 + metadata.getVersionFile "compiler-rt/codesign.patch" 1007 + ) # Revert compiler-rt commit that makes codesign mandatory 1012 1008 ++ [ 1013 1009 (metadata.getVersionFile "compiler-rt/X86-support-extension.patch") # Add support for i486 i586 i686 by reusing i386 config 1014 1010 ]