Merge pull request #274171 from philiptaron/clasp-common-lisp

clasp-common-lisp: fix build and rehydrate dependencies

authored by 7c6f434c and committed by GitHub 507f399d 28089f88

+564 -75
+39 -9
pkgs/development/compilers/clasp/clasp-pin-repos-commits.patch
··· 1 1 diff --git a/repos.sexp b/repos.sexp 2 - index 2b2459655..ad346d8e5 100644 2 + index d31d4d62d..cd3238585 100644 3 3 --- a/repos.sexp 4 4 +++ b/repos.sexp 5 - @@ -7,15 +7,15 @@ 5 + @@ -5,17 +5,17 @@ 6 + ;;;; 4. src/ - C/C++ dependencies for iclasp 7 + ;;;; 5. extensions/ - extensions and their dependencies 6 8 ((:name :ansi-test 7 - :repository "https://gitlab.common-lisp.net/yitzchak/ansi-test" 9 + - :repository "https://gitlab.common-lisp.net/yitzchak/ansi-test" 10 + + :repository "https://github.com/clasp-developers/ansi-test.git" 8 11 :directory "dependencies/ansi-test/" 9 12 - :branch "add-expected-failures") 10 - + :commit "346cf2eb1133942054df8ce2125ed7e999b6d82b") 13 + + :commit "33ae7c1ddd3e814bbe6f55b9e7a6a92b39404664") 11 14 (:name :cl-bench 12 - :repository "https://gitlab.common-lisp.net/ansi-test/cl-bench.git" 15 + - :repository "https://gitlab.common-lisp.net/ansi-test/cl-bench.git" 16 + + :repository "https://github.com/clasp-developers/cl-bench.git" 13 17 :directory "dependencies/cl-bench/" 14 18 - :branch "master") 15 19 + :commit "7d184b4ef2a6272f0e3de88f6c243edb20f7071a") ··· 21 25 (:name :quicklisp-client 22 26 :repository "https://github.com/quicklisp/quicklisp-client.git" 23 27 :directory "dependencies/quicklisp-client/" 24 - @@ -23,15 +23,15 @@ 28 + @@ -23,21 +23,21 @@ 25 29 (:name :shasht 26 30 :repository "https://github.com/yitzchak/shasht.git" 27 31 :directory "dependencies/shasht/" ··· 40 44 (:name :acclimation 41 45 :repository "https://github.com/robert-strandh/Acclimation.git" 42 46 :directory "src/lisp/kernel/contrib/Acclimation/" 47 + :commit "dd15c86b0866fc5d8b474be0da15c58a3c04c45c") 48 + (:name :alexandria 49 + - :repository "https://gitlab.common-lisp.net/alexandria/alexandria.git" 50 + + :repository "https://github.com/clasp-developers/alexandria.git" 51 + :directory "src/lisp/kernel/contrib/alexandria/" 52 + :commit "v1.4") 53 + (:name :anaphora 43 54 @@ -128,7 +128,7 @@ 44 55 (:name :lparallel 45 56 :repository "https://github.com/yitzchak/lparallel.git" ··· 49 60 :extension :cando) 50 61 (:name :parser.common-rules 51 62 :repository "https://github.com/scymtym/parser.common-rules.git" 52 - @@ -152,7 +152,7 @@ 63 + @@ -150,9 +150,9 @@ 64 + :commit "87a447a8eaef9cf4fd1c16d407a49f9adaf8adad" 65 + :extension :cando) 53 66 (:name :trivial-features ; Needed both by the host and eclasp 54 - :repository "https://github.com/yitzchak/trivial-features.git" 67 + - :repository "https://github.com/yitzchak/trivial-features.git" 68 + + :repository "https://github.com/trivial-features/trivial-features.git" 55 69 :directory "src/lisp/kernel/contrib/trivial-features/" 56 70 - :branch "asdf-feature") 57 - + :commit "0008ef4f3376fb76f63c35ecee6573d0d0f98d57") 71 + + :commit "d249a62aaf022902398a7141ae17217251fc61db") 58 72 (:name :trivial-garbage 59 73 :repository "https://github.com/trivial-garbage/trivial-garbage.git" 60 74 :directory "src/lisp/kernel/contrib/trivial-garbage/" 75 + @@ -176,7 +176,7 @@ 76 + :directory "src/lisp/kernel/contrib/usocket/" 77 + :commit "7ad6582cc1ce9e7fa5931a10e73b7d2f2688fa81") 78 + (:name :asdf 79 + - :repository "https://gitlab.common-lisp.net/asdf/asdf.git" 80 + + :repository "https://github.com/clasp-developers/asdf.git" 81 + :directory "src/lisp/modules/asdf/" 82 + :commit "3.3.5") 83 + (:name :mps 84 + @@ -205,4 +205,4 @@ 85 + :repository "https://github.com/seqan/seqan.git" 86 + :directory "extensions/seqan-clasp/seqan/" 87 + :commit "f5f658343c366c9c3d44ba358ffc9317e78a09ed" 88 + - :extension :seqan-clasp)) 89 + \ No newline at end of file 90 + + :extension :seqan-clasp))
+55 -66
pkgs/development/compilers/clasp/default.nix
··· 1 - { pkgs, lib, fetchFromGitHub, llvmPackages_15 }: 1 + { lib 2 + , llvmPackages_15 3 + , fetchFromGitHub 4 + , sbcl 5 + , git 6 + , pkg-config 7 + , fmt_9 8 + , gmpxx 9 + , libelf 10 + , boost 11 + , libunwind 12 + , ninja 13 + , cacert 14 + }: 15 + 16 + let 17 + inherit (llvmPackages_15) stdenv llvm libclang; 2 18 19 + # Gathered from https://github.com/clasp-developers/clasp/raw/2.2.0/repos.sexp 20 + dependencies = import ./dependencies.nix { 21 + inherit fetchFromGitHub; 22 + }; 3 23 4 - let 24 + # Shortened version of `_defaultUnpack` 25 + unpackDependency = elem: '' 26 + mkdir -p "source/${elem.directory}" 27 + cp -pr --reflink=auto -- ${elem.src}/* "source/${elem.directory}" 28 + chmod -R u+w -- "source/${elem.directory}" 29 + ''; 30 + in 31 + 32 + stdenv.mkDerivation { 33 + pname = "clasp"; 34 + version = "2.2.0"; 5 35 6 36 src = fetchFromGitHub { 7 37 owner = "clasp-developers"; ··· 10 40 hash = "sha256-gvUqUb0dftW1miiBcAPJur0wOunox4y2SUYeeJpR9R4="; 11 41 }; 12 42 13 - reposDirs = [ 14 - "dependencies" 15 - "src/lisp/kernel/contrib" 16 - "src/lisp/modules/asdf" 17 - "src/mps" 18 - "src/bdwgc" 19 - "src/libatomic_ops" 43 + patches = [ 44 + ./clasp-pin-repos-commits.patch 45 + ./remove-unused-command-line-argument.patch 20 46 ]; 21 47 22 - reposTarball = llvmPackages_15.stdenv.mkDerivation { 23 - pname = "clasp-repos"; 24 - version = "tarball"; 25 - inherit src; 26 - patches = [ ./clasp-pin-repos-commits.patch ]; 27 - nativeBuildInputs = with pkgs; [ 28 - sbcl 29 - git 30 - cacert 31 - ]; 32 - buildPhase = '' 33 - export SOURCE_DATE_EPOCH=1 34 - export ASDF_OUTPUT_TRANSLATIONS=$(pwd):$(pwd)/__fasls 35 - sbcl --script koga --help 36 - for x in {${lib.concatStringsSep "," reposDirs}}; do 37 - find $x -type d -name .git -exec rm -rvf {} \; || true 38 - done 39 - ''; 40 - installPhase = '' 41 - tar --owner=0 --group=0 --numeric-owner --format=gnu \ 42 - --sort=name --mtime="@$SOURCE_DATE_EPOCH" \ 43 - -czf $out ${lib.concatStringsSep " " reposDirs} 44 - ''; 45 - outputHashMode = "flat"; 46 - outputHashAlgo = "sha256"; 47 - outputHash = "sha256-vgwThjn2h3nKnShtKoHgaPdH/FDHv28fLMQvKFEwG6o="; 48 - }; 49 - 50 - in llvmPackages_15.stdenv.mkDerivation { 51 - pname = "clasp"; 52 - version = "2.2.0"; 53 - inherit src; 54 - nativeBuildInputs = (with pkgs; [ 48 + nativeBuildInputs = [ 55 49 sbcl 56 50 git 57 51 pkg-config ··· 61 55 boost 62 56 libunwind 63 57 ninja 64 - ]) ++ (with llvmPackages_15; [ 65 58 llvm 66 59 libclang 67 - ]); 60 + ]; 61 + 62 + ninjaFlags = [ "-C" "build" ]; 63 + 64 + postUnpack = lib.concatStringsSep "\n" (builtins.map unpackDependency dependencies); 65 + 68 66 configurePhase = '' 69 - export SOURCE_DATE_EPOCH=1 70 - export ASDF_OUTPUT_TRANSLATIONS=$(pwd):$(pwd)/__fasls 71 - tar xf ${reposTarball} 72 - sbcl --script koga \ 73 - --skip-sync \ 74 - --cc=$NIX_CC/bin/cc \ 75 - --cxx=$NIX_CC/bin/c++ \ 76 - --reproducible-build \ 77 - --package-path=/ \ 78 - --bin-path=$out/bin \ 79 - --lib-path=$out/lib \ 80 - --share-path=$out/share 81 - ''; 82 - buildPhase = '' 83 - ninja -C build 84 - ''; 85 - installPhase = '' 86 - ninja -C build install 87 - ''; 67 + export SOURCE_DATE_EPOCH=1 68 + export ASDF_OUTPUT_TRANSLATIONS=$(pwd):$(pwd)/__fasls 69 + sbcl --script koga \ 70 + --skip-sync \ 71 + --cc=$NIX_CC/bin/cc \ 72 + --cxx=$NIX_CC/bin/c++ \ 73 + --reproducible-build \ 74 + --package-path=/ \ 75 + --bin-path=$out/bin \ 76 + --lib-path=$out/lib \ 77 + --share-path=$out/share 78 + ''; 88 79 89 80 meta = { 90 81 description = "A Common Lisp implementation based on LLVM with C++ integration"; ··· 93 84 platforms = ["x86_64-linux" "x86_64-darwin"]; 94 85 # Upstream claims support, but breaks with: 95 86 # error: use of undeclared identifier 'aligned_alloc' 96 - broken = llvmPackages_15.stdenv.isDarwin; 87 + broken = stdenv.isDarwin; 97 88 homepage = "https://github.com/clasp-developers/clasp"; 98 89 }; 99 - 100 90 } 101 -
+457
pkgs/development/compilers/clasp/dependencies.nix
··· 1 + # Gathered from https://github.com/clasp-developers/clasp/raw/2.2.0/repos.sexp 2 + # Generated using https://gist.github.com/philiptaron/8ea1394b049c2ca975e4b03965d9ac00 3 + # and then light editing using Vim 4 + 5 + { fetchFromGitHub }: 6 + 7 + [ 8 + { 9 + directory = "dependencies/ansi-test/"; 10 + src = fetchFromGitHub { 11 + owner = "clasp-developers"; 12 + repo = "ansi-test"; 13 + rev = "33ae7c1ddd3e814bbe6f55b9e7a6a92b39404664"; 14 + hash = "sha256-dGF7CScvfPNMRxQXJM4v6Vfc/VjdUXNz0yCjUOsYM3I="; 15 + }; 16 + } 17 + 18 + { 19 + directory = "dependencies/cl-bench/"; 20 + src = fetchFromGitHub { 21 + owner = "clasp-developers"; 22 + repo = "cl-bench"; 23 + rev = "7d184b4ef2a6272f0e3de88f6c243edb20f7071a"; 24 + hash = "sha256-7ZEIWNEj7gzYFMTqW7nnZgjNE1zoTAMeJHj547gRtPs="; 25 + }; 26 + } 27 + 28 + { 29 + directory = "dependencies/cl-who/"; 30 + src = fetchFromGitHub { 31 + owner = "edicl"; 32 + repo = "cl-who"; 33 + rev = "07dafe9b351c32326ce20b5804e798f10d4f273d"; 34 + hash = "sha256-5T762W3qetAjXtHP77ko6YZR6w5bQ04XM6QZPELQu+U="; 35 + }; 36 + } 37 + 38 + { 39 + directory = "dependencies/quicklisp-client/"; 40 + src = fetchFromGitHub { 41 + owner = "quicklisp"; 42 + repo = "quicklisp-client"; 43 + rev = "8b63e00b3a2b3f96e24c113d7601dd03a128ce94"; 44 + hash = "sha256-1HLVPhl8aBaeG8dRLxBh0j0X/0wqFeNYK1CEfiELToA="; 45 + }; 46 + } 47 + 48 + { 49 + directory = "dependencies/shasht/"; 50 + src = fetchFromGitHub { 51 + owner = "yitzchak"; 52 + repo = "shasht"; 53 + rev = "f38e866990c6b5381a854d63f7ea0227c87c2f6d"; 54 + hash = "sha256-Ki5JNevMvVZoUz3tP6cv7qA4xDLzjd2MXmf4x9ew5bw="; 55 + }; 56 + } 57 + 58 + { 59 + directory = "dependencies/trivial-do/"; 60 + src = fetchFromGitHub { 61 + owner = "yitzchak"; 62 + repo = "trivial-do"; 63 + rev = "a19f93227cb80a6bec8846655ebcc7998020bd7e"; 64 + hash = "sha256-Tjd9VJan6pQpur292xtklvb28MDGGjq2+ub5T6o6FG8="; 65 + }; 66 + } 67 + 68 + { 69 + directory = "dependencies/trivial-gray-streams/"; 70 + src = fetchFromGitHub { 71 + owner = "trivial-gray-streams"; 72 + repo = "trivial-gray-streams"; 73 + rev = "2b3823edbc78a450db4891fd2b566ca0316a7876"; 74 + hash = "sha256-9vN74Gum7ihKSrCygC3hRLczNd15nNCWn5r60jjHN8I="; 75 + }; 76 + } 77 + 78 + { 79 + directory = "src/lisp/kernel/contrib/Acclimation/"; 80 + src = fetchFromGitHub { 81 + owner = "robert-strandh"; 82 + repo = "Acclimation"; 83 + rev = "dd15c86b0866fc5d8b474be0da15c58a3c04c45c"; 84 + hash = "sha256-AuoVdv/MU73A8X+GsxyG0K+xgzCKLQfbpu79oTERgmI="; 85 + }; 86 + } 87 + 88 + { 89 + directory = "src/lisp/kernel/contrib/alexandria/"; 90 + src = fetchFromGitHub { 91 + owner = "clasp-developers"; 92 + repo = "alexandria"; 93 + rev = "49e82add16cb9f1ffa72c77cd687271247181ff3"; 94 + hash = "sha256-1Hzxt65dZvgOFIljjjlSGgKYkj+YBLwJCACi5DZsKmQ="; 95 + }; 96 + } 97 + 98 + { 99 + directory = "src/lisp/kernel/contrib/anaphora/"; 100 + src = fetchFromGitHub { 101 + owner = "spwhitton"; 102 + repo = "anaphora"; 103 + rev = "bcf0f7485eec39415be1b2ec6ca31cf04a8ab5c5"; 104 + hash = "sha256-CzApbUmdDmD+BWPcFGJN0rdZu991354EdTDPn8FSRbc="; 105 + }; 106 + } 107 + 108 + { 109 + directory = "src/lisp/kernel/contrib/architecture.builder-protocol/"; 110 + src = fetchFromGitHub { 111 + owner = "scymtym"; 112 + repo = "architecture.builder-protocol"; 113 + rev = "0c1a9ebf9ab14e699c2b9c85fc20265b8c5364dd"; 114 + hash = "sha256-AdZeI4UCMnmuYpmSaWqIt+egdkNN3kzEn/zOqIBTnww="; 115 + }; 116 + } 117 + 118 + { 119 + directory = "src/lisp/kernel/contrib/array-utils/"; 120 + src = fetchFromGitHub { 121 + owner = "Shinmera"; 122 + repo = "array-utils"; 123 + rev = "5acd90fa3d9703cea33e3825334b256d7947632f"; 124 + hash = "sha256-Br3H39F+hqYnTgYtVezuRhwRQJwJlxohu+M033sYPOI="; 125 + }; 126 + } 127 + 128 + { 129 + directory = "src/lisp/kernel/contrib/babel/"; 130 + src = fetchFromGitHub { 131 + owner = "cl-babel"; 132 + repo = "babel"; 133 + rev = "f892d0587c7f3a1e6c0899425921b48008c29ee3"; 134 + hash = "sha256-U2E8u3ZWgH9eG4SV/t9CE1dUpcthuQMXgno/W1Ow2RE="; 135 + }; 136 + } 137 + 138 + { 139 + directory = "src/lisp/kernel/contrib/bordeaux-threads/"; 140 + src = fetchFromGitHub { 141 + owner = "sionescu"; 142 + repo = "bordeaux-threads"; 143 + rev = "3d25cd01176f7c9215ebc792c78313cb99ff02f9"; 144 + hash = "sha256-KoOaIKQZaZgEbtM6PGVwQn/xg+/slt+uloR4EaMlBeg="; 145 + }; 146 + } 147 + 148 + { 149 + directory = "src/lisp/kernel/contrib/cffi/"; 150 + src = fetchFromGitHub { 151 + owner = "cffi"; 152 + repo = "cffi"; 153 + rev = "9c912e7b89eb09dd347d3ebae16e4dc5f53e5717"; 154 + hash = "sha256-umt0HmX7M3SZM2VSrxqxUmNt9heTG/Ulwzphs2NRYTs="; 155 + }; 156 + } 157 + 158 + { 159 + directory = "src/lisp/kernel/contrib/cl-markup/"; 160 + src = fetchFromGitHub { 161 + owner = "arielnetworks"; 162 + repo = "cl-markup"; 163 + rev = "e0eb7debf4bdff98d1f49d0f811321a6a637b390"; 164 + hash = "sha256-50LZDaNfXhOZ6KoTmXClo5Bo2D9q1zbdCLSFkwqZhoI="; 165 + }; 166 + } 167 + 168 + { 169 + directory = "src/lisp/kernel/contrib/cl-ppcre/"; 170 + src = fetchFromGitHub { 171 + owner = "edicl"; 172 + repo = "cl-ppcre"; 173 + rev = "b4056c5aecd9304e80abced0ef9c89cd66ecfb5e"; 174 + hash = "sha256-6xeiSeYVwzAaisLQP/Bjqlc/Rhw8JMy0FT93hDQi5Y8="; 175 + }; 176 + } 177 + 178 + { 179 + directory = "src/lisp/kernel/contrib/cl-svg/"; 180 + src = fetchFromGitHub { 181 + owner = "wmannis"; 182 + repo = "cl-svg"; 183 + rev = "1e988ebd2d6e2ee7be4744208828ef1b59e5dcdc"; 184 + hash = "sha256-nwOvHGK0wIOZxAnZ68xyOhchAp8CBl/wsfRI42v8NYc="; 185 + }; 186 + } 187 + 188 + { 189 + directory = "src/lisp/kernel/contrib/Cleavir/"; 190 + src = fetchFromGitHub { 191 + owner = "s-expressionists"; 192 + repo = "Cleavir"; 193 + rev = "a73d313735447c63b4b11b6f8984f9b1e3e74ec9"; 194 + hash = "sha256-VQ8sB5W7JYnVsvfx2j7d2LQcECst79MCIW9QSuwm8GA="; 195 + }; 196 + } 197 + 198 + { 199 + directory = "src/lisp/kernel/contrib/closer-mop/"; 200 + src = fetchFromGitHub { 201 + owner = "pcostanza"; 202 + repo = "closer-mop"; 203 + rev = "d4d1c7aa6aba9b4ac8b7bb78ff4902a52126633f"; 204 + hash = "sha256-bHBYMBz45EOY727d4BWP75gRV4nzRAWxAlivPRzYrKo="; 205 + }; 206 + } 207 + 208 + { 209 + directory = "src/lisp/kernel/contrib/Concrete-Syntax-Tree/"; 210 + src = fetchFromGitHub { 211 + owner = "s-expressionists"; 212 + repo = "Concrete-Syntax-Tree"; 213 + rev = "4f01430c34f163356f3a2cfbf0a8a6963ff0e5ac"; 214 + hash = "sha256-0XfLkihztWUhqu7DrFiuwcEx/x+EILEivPfsHb5aMZk="; 215 + }; 216 + } 217 + 218 + { 219 + directory = "src/lisp/kernel/contrib/documentation-utils/"; 220 + src = fetchFromGitHub { 221 + owner = "Shinmera"; 222 + repo = "documentation-utils"; 223 + rev = "98630dd5f7e36ae057fa09da3523f42ccb5d1f55"; 224 + hash = "sha256-uMUyzymyS19ODiUjQbE/iJV7HFeVjB45gbnWqfGEGCU="; 225 + }; 226 + } 227 + 228 + { 229 + directory = "src/lisp/kernel/contrib/Eclector/"; 230 + src = fetchFromGitHub { 231 + owner = "s-expressionists"; 232 + repo = "Eclector"; 233 + rev = "dddb4d8af3eae78017baae7fb9b99e73d2a56e6b"; 234 + hash = "sha256-OrkWEI5HGlmejH9gg7OwJz2QXgAgE3kDHwen5yzhKgM="; 235 + }; 236 + } 237 + 238 + { 239 + directory = "src/lisp/kernel/contrib/esrap/"; 240 + src = fetchFromGitHub { 241 + owner = "scymtym"; 242 + repo = "esrap"; 243 + rev = "7588b430ad7c52f91a119b4b1c9a549d584b7064"; 244 + hash = "sha256-C0GiTyRna9BMIMy1/XdMZAkhjpLaoAEF1+ps97xQyMY="; 245 + }; 246 + } 247 + 248 + { 249 + directory = "src/lisp/kernel/contrib/global-vars/"; 250 + src = fetchFromGitHub { 251 + owner = "lmj"; 252 + repo = "global-vars"; 253 + rev = "c749f32c9b606a1457daa47d59630708ac0c266e"; 254 + hash = "sha256-bXxeNNnFsGbgP/any8rR3xBvHE9Rb4foVfrdQRHroxo="; 255 + }; 256 + } 257 + 258 + { 259 + directory = "src/lisp/kernel/contrib/let-plus/"; 260 + src = fetchFromGitHub { 261 + owner = "sharplispers"; 262 + repo = "let-plus"; 263 + rev = "455e657e077235829b197f7ccafd596fcda69e30"; 264 + hash = "sha256-SyZRx9cyuEN/h4t877TOWw35caQqMf2zSGZ9Qg22gAE="; 265 + }; 266 + } 267 + 268 + { 269 + directory = "src/lisp/kernel/contrib/cl-netcdf/"; 270 + src = fetchFromGitHub { 271 + owner = "clasp-developers"; 272 + repo = "cl-netcdf"; 273 + rev = "593c6c47b784ec02e67580aa12a7775ed6260200"; 274 + hash = "sha256-3VCTSsIbk0GovCM+rWPZj2QJdYq+UZksjfRd18UYY5s="; 275 + }; 276 + } 277 + 278 + { 279 + directory = "src/lisp/kernel/contrib/lparallel/"; 280 + src = fetchFromGitHub { 281 + owner = "yitzchak"; 282 + repo = "lparallel"; 283 + rev = "9c98bf629328b27a5a3fbb7a637afd1db439c00f"; 284 + hash = "sha256-sUM1WKXxZk7un64N66feXh21m7yzJsdcaWC3jIOd2W4="; 285 + }; 286 + } 287 + 288 + { 289 + directory = "src/lisp/kernel/contrib/parser.common-rules/"; 290 + src = fetchFromGitHub { 291 + owner = "scymtym"; 292 + repo = "parser.common-rules"; 293 + rev = "b7652db5e3f98440dce2226d67a50e8febdf7433"; 294 + hash = "sha256-ik+bteIjBN6MfMFiRBjn/nP7RBzv63QgoRKVi4F8Ho0="; 295 + }; 296 + } 297 + 298 + { 299 + directory = "src/lisp/kernel/contrib/plump/"; 300 + src = fetchFromGitHub { 301 + owner = "Shinmera"; 302 + repo = "plump"; 303 + rev = "d8ddda7514e12f35510a32399f18e2b26ec69ddc"; 304 + hash = "sha256-FjeZAWD81137lXWyN/RIr+L+anvwh/Glze497fcpHUY="; 305 + }; 306 + } 307 + 308 + { 309 + directory = "src/lisp/kernel/contrib/split-sequence/"; 310 + src = fetchFromGitHub { 311 + owner = "sharplispers"; 312 + repo = "split-sequence"; 313 + rev = "89a10b4d697f03eb32ade3c373c4fd69800a841a"; 314 + hash = "sha256-faF2EiQ+xXWHX9JlZ187xR2mWhdOYCpb4EZCPNoZ9uQ="; 315 + }; 316 + } 317 + 318 + { 319 + directory = "src/lisp/kernel/contrib/static-vectors/"; 320 + src = fetchFromGitHub { 321 + owner = "sionescu"; 322 + repo = "static-vectors"; 323 + rev = "87a447a8eaef9cf4fd1c16d407a49f9adaf8adad"; 324 + hash = "sha256-q4E+VPX/pOyuCdzJZ6CFEIiR58E6JIxJySROl/WcMyI="; 325 + }; 326 + } 327 + 328 + { 329 + directory = "src/lisp/kernel/contrib/trivial-features/"; 330 + src = fetchFromGitHub { 331 + owner = "trivial-features"; 332 + repo = "trivial-features"; 333 + rev = "d249a62aaf022902398a7141ae17217251fc61db"; 334 + hash = "sha256-g50OSfrMRH5hTRy077C1kCln2vz0Qeb1oq9qHh7zY2Q="; 335 + }; 336 + } 337 + 338 + { 339 + directory = "src/lisp/kernel/contrib/trivial-garbage/"; 340 + src = fetchFromGitHub { 341 + owner = "trivial-garbage"; 342 + repo = "trivial-garbage"; 343 + rev = "b3af9c0c25d4d4c271545f1420e5ea5d1c892427"; 344 + hash = "sha256-CCLZHHW3/0Id0uHxrbjf/WM3yC8netkcQ8p9Qtssvc4="; 345 + }; 346 + } 347 + 348 + { 349 + directory = "src/lisp/kernel/contrib/trivial-http/"; 350 + src = fetchFromGitHub { 351 + owner = "gwkkwg"; 352 + repo = "trivial-http"; 353 + rev = "ca45656587f36378305de1a4499c308acc7a03af"; 354 + hash = "sha256-0VKWHJYn1XcXVNHduxKiABe7xFUxj8M4/u92Usvq54o="; 355 + }; 356 + } 357 + 358 + { 359 + directory = "src/lisp/kernel/contrib/trivial-indent/"; 360 + src = fetchFromGitHub { 361 + owner = "Shinmera"; 362 + repo = "trivial-indent"; 363 + rev = "8d92e94756475d67fa1db2a9b5be77bc9c64d96c"; 364 + hash = "sha256-G+YCIB3bKN4RotJUjT/6bnivSBalseFRhIlwsEm5EUk="; 365 + }; 366 + } 367 + 368 + { 369 + directory = "src/lisp/kernel/contrib/trivial-with-current-source-form/"; 370 + src = fetchFromGitHub { 371 + owner = "scymtym"; 372 + repo = "trivial-with-current-source-form"; 373 + rev = "3898e09f8047ef89113df265574ae8de8afa31ac"; 374 + hash = "sha256-IKJOyJYqGBx0b6Oomddvb+2K6q4W508s3xnplleMJIQ="; 375 + }; 376 + } 377 + 378 + { 379 + directory = "src/lisp/kernel/contrib/usocket/"; 380 + src = fetchFromGitHub { 381 + owner = "usocket"; 382 + repo = "usocket"; 383 + rev = "7ad6582cc1ce9e7fa5931a10e73b7d2f2688fa81"; 384 + hash = "sha256-0HiItuc6fV70Rpk/5VevI1I0mGnY1JJvhnyPpx6r0uo="; 385 + }; 386 + } 387 + 388 + { 389 + directory = "src/lisp/modules/asdf/"; 390 + src = fetchFromGitHub { 391 + owner = "clasp-developers"; 392 + repo = "asdf"; 393 + rev = "97b279faf3cc11a5cfdd19b5325025cc8ec1e7bd"; 394 + hash = "sha256-4LhF+abor5NK4HgbGCYM5kSaH7TLISW5w5HXYOm4wqw="; 395 + }; 396 + } 397 + 398 + { 399 + directory = "src/mps/"; 400 + src = fetchFromGitHub { 401 + owner = "Ravenbrook"; 402 + repo = "mps"; 403 + rev = "b8a05a3846430bc36c8200f24d248c8293801503"; 404 + hash = "sha256-Zuc77cdap0xNYEqM8IkMQMUMY0f5QZ84uFmKgXjDXeA="; 405 + }; 406 + } 407 + 408 + { 409 + directory = "src/bdwgc/"; 410 + src = fetchFromGitHub { 411 + owner = "ivmai"; 412 + repo = "bdwgc"; 413 + rev = "036becee374b84fed5d56a6df3ae097b7cc0ff73"; 414 + hash = "sha256-WB1sFfVL6lWL+DEypg3chCJS/w0J4tPGi5tL1o3W73U="; 415 + }; 416 + } 417 + 418 + { 419 + directory = "src/libatomic_ops/"; 420 + src = fetchFromGitHub { 421 + owner = "ivmai"; 422 + repo = "libatomic_ops"; 423 + rev = "4b7d0b9036f9a645b03010dad1c7b7f86ea75772"; 424 + hash = "sha256-zThdbX2/l5/ZZVYobJf9KAd+IjIDIrk+08SUhTQs2gE="; 425 + }; 426 + } 427 + 428 + { 429 + directory = "extensions/cando/"; 430 + src = fetchFromGitHub { 431 + owner = "cando-developers"; 432 + repo = "cando"; 433 + rev = "a6934eddfce2ff1cb7131affce427ce652392f08"; 434 + hash = "sha256-AUmBLrk7lofJNagvI3KhPebvV8GkrDbBXrsAa3a1Bwo="; 435 + }; 436 + } 437 + 438 + { 439 + directory = "extensions/seqan-clasp/"; 440 + src = fetchFromGitHub { 441 + owner = "clasp-developers"; 442 + repo = "seqan-clasp"; 443 + rev = "5caa2e1e6028525276a6b6ba770fa6e334563d58"; 444 + hash = "sha256-xAvAd/kBr8n9SSw/trgWTqDWQLmpOp8+JX5L+JO2+Ls="; 445 + }; 446 + } 447 + 448 + { 449 + directory = "extensions/seqan-clasp/seqan/"; 450 + src = fetchFromGitHub { 451 + owner = "seqan"; 452 + repo = "seqan"; 453 + rev = "f5f658343c366c9c3d44ba358ffc9317e78a09ed"; 454 + hash = "sha256-AzZlONf7SNxCa9+SKQFC/rA6fx6rhWH96caZSmKnlsU="; 455 + }; 456 + } 457 + ]
+13
pkgs/development/compilers/clasp/remove-unused-command-line-argument.patch
··· 1 + diff --git a/src/koga/units.lisp b/src/koga/units.lisp 2 + index 808cebd17..2bbf965fd 100644 3 + --- a/src/koga/units.lisp 4 + +++ b/src/koga/units.lisp 5 + @@ -197,7 +197,7 @@ 6 + :type :cxxflags) 7 + #+darwin (append-cflags configuration "-stdlib=libc++" :type :cxxflags) 8 + #+darwin (append-cflags configuration "-I/usr/local/include") 9 + - #+linux (append-cflags configuration "-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-stack-protector -stdlib=libstdc++" 10 + + #+linux (append-cflags configuration "-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-stack-protector" 11 + :type :cxxflags) 12 + #+linux (append-cflags configuration "-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-stack-protector" 13 + :type :cflags)