Commit Graph

276 Commits

Author SHA1 Message Date
Hraban Luyat
9243491f1e sbcl: 2.4.9 -> 2.4.10 2024-10-31 15:26:15 -04:00
Hraban Luyat
3c9c848905 sbcl: 2.4.8 -> 2.4.9 2024-09-29 23:33:27 -04:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Ashish SHUKLA
129ee13619
sbcl: 2.4.7 -> 2.4.8
Changes: https://sourceforge.net/p/sbcl/mailman/message/58811388/
2024-09-01 13:59:21 +05:30
Philip Taron
835804ea26
sbcl: remove with statements 2024-08-18 06:31:15 -07:00
Hraban Luyat
b97bf364c0 sbcl: 2.4.6 -> 2.4.7 2024-07-27 13:12:04 -04:00
Hraban Luyat
5614cb997d sbcl: 2.4.5 -> 2.4.6
Also remove the rolling N-1 release we kept around. This gets SBCL more in line
with other packages in nixpkgs.
2024-06-30 12:44:12 -04:00
7c6f434c
0c45511b4f
Merge pull request #317746 from hraban/fix/sbcl-overridable-options
sbcl: make deriv options overridable attributes
2024-06-20 20:03:51 +00:00
7c6f434c
67a6bcdcf2
Merge pull request #315675 from hraban/fix/sbcl-gc-threads
sbcl: configuration check: GC requires threads
2024-06-04 12:14:42 +00:00
Hraban Luyat
1acef6e636 sbcl: 2.4.4 -> 2.4.5 2024-05-30 09:45:53 -04:00
Hraban Luyat
307e221f0d sbcl: make deriv options overridable attributes
This also makes the options available for reading by other derivations which
depend on SBCL. This is useful e.g. in the case of bordeaux-threads, which
depends on a specific feature of SBCL having been enabled (threads): having the
.threadSupport value readable from the derivation at runtime allows
bordeaux-thread to potentially mark itself as meta.broken for an SBCL without
thread support.
2024-05-29 16:38:46 -04:00
Hraban Luyat
636e5933e5 sbcl: configuration check: GC requires threads
https://sourceforge.net/p/sbcl/mailman/message/58776519/
2024-05-29 09:26:18 -04:00
Hraban Luyat
2712181ce3 sbcl: test for memory envvar read 2024-05-10 16:08:14 -04:00
Hraban Luyat
448ea39ab9 sbcl: custom patch to read memory from envvar 2024-05-10 16:08:14 -04:00
Peder Bergebakken Sundt
db15bbc3d5
treewide: remove unreferenced patch files (#308127)
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2024-05-02 12:41:45 +00:00
Hraban Luyat
43bea7a6dd sbcl: 2.4.3 -> 2.4.4 2024-04-30 08:57:40 -04:00
Hraban Luyat
fe9531e8e0 sbcl: use ECL as a bootstrap lisp 2024-04-27 16:59:23 -04:00
Hraban Luyat
e846639236 sbcl: remove obsolete version checks 2024-04-27 12:13:26 -04:00
Philip Taron
ab48a1b595
clpm: remove
It doesn't build, there hasn't been a release in two years, and
attempting to upgrade to the most recent tag (`v0.4.2-rc.2`) reveals
that it immediately returns exit code 1 without output.
2024-04-01 09:15:27 -07:00
Hraban Luyat
1208f55510 sbcl: disable unstable futex test on aarch64-linux 2024-03-30 15:18:45 -04:00
Hraban Luyat
f35c7c4ce4 sbcl: 2.4.2 -> 2.4.3 2024-03-29 15:27:18 -04:00
Hraban Luyat
a91049c31a sbcl: create version file if none exists
Fallback for when there is no such file (e.g. building from git)

The blanket recreation of this file was removed by me in
d09db9c096 but I hadn’t considered this edge case.
2024-03-21 11:12:10 -04:00
Hraban
3349c41fe4
sbcl: fix comment s/zlib/zstd
Co-authored-by: 7c6f434c <7c6f434c@mail.ru>
2024-03-11 18:51:40 +00:00
Hraban Luyat
f7ed1663f3 sbcl: assert coreCompression -> !purgeNixReferences 2024-03-10 15:32:10 -04:00
7c6f434c
7cd98160ab
Merge pull request #292348 from hraban/sbcl-2.4.2
sbcl: 2.4.1 -> 2.4.2
2024-03-01 14:25:28 +00:00
Hraban Luyat
3dea08030b sbcl, ecl, clisp: set meta.mainProgram 2024-02-29 11:16:55 -05:00
Hraban Luyat
c3f3caa6d1 sbcl: 2.4.1 -> 2.4.2 2024-02-29 10:34:34 -05:00
7c6f434c
a9a0c2c4ed
Merge pull request #291393 from hraban/sbcl/source-provenance
sbcl: set source provenance on binary bootstrap
2024-02-25 19:24:13 +00:00
Hraban Luyat
84e89be710 sbcl: set source provenance on binary bootstrap
Fixes nixos/nixpkgs#282476
2024-02-25 12:24:13 -05:00
Hraban Luyat
3029b8dc4d sbcl: disable all checks on x86_64-darwin 2024-02-23 22:26:42 -05:00
Hraban Luyat
f8719ace2a sbcl: disable traceroot (GC) test on aarch64-linux
This isn’t about perfect test coverage, but about codifying what works today.
2024-02-23 22:26:42 -05:00
Hraban Luyat
e8de41602f sbcl: find test binaries in PATH 2024-02-23 22:26:42 -05:00
Hraban Luyat
1c6e7b5937 sbcl: run pre/postCheck hooks 2024-02-23 22:26:42 -05:00
Hraban Luyat
fb3be43ae1 sbcl: run postInstall hook after installPhase 2024-02-23 22:26:42 -05:00
Hraban Luyat
5cd820b39a sbcl: patch all paths to uname, env and sh 2024-02-23 22:26:42 -05:00
Hraban Luyat
65e6531546 sbcl: disable floating point tests 2024-02-23 22:26:42 -05:00
Hraban Luyat
5e8a9aa362 sbcl: include test binaries during checks 2024-02-23 22:26:42 -05:00
Hraban Luyat
b9464efdb3 sbcl: update meta.description field 2024-02-23 22:26:42 -05:00
Hraban Luyat
bf07f42487 sbcl: allow overriding build flags from Nix
E.g.:

sbcl.overrideAttrs (old: {
  enableFeatures = old.enableFeatures ++ [ "foobar" ];
})
2024-02-23 22:26:42 -05:00
Hraban Luyat
949059e7c9 sbcl: allow overriding bootstrapLisp
Makes development more pleasant because using your existing SBCL as a boostrap
host is considerably faster.
2024-02-23 22:26:42 -05:00
Hraban Luyat
b1f97bf100 sbcl: remove unused import 2024-02-22 21:22:21 -05:00
Hraban Luyat
d09db9c096 sbcl: fix patching of test files & timestamps
It’s unclear what problem the test patching was trying to solve, but on current
SBCL builds this does more harm than good. Removing those patches leaves the
test in its original state, which builds and passes.

As for the timestamps: also unclear, removing it doesn’t seem to affect anything
either way and this feels very much like a fix for /nix/store read-only
access. I’ve test SBCL without these and it works fine, so I don’t think this is
relevant anymore? Unfortunately there are no comments so it’s hard to know why
these existed.
2024-02-22 21:22:21 -05:00
Hraban Luyat
094f6b98c7 sbcl: doCheck = true 2024-02-22 21:22:21 -05:00
Silvan Mosberger
6fc063c62e Revert "sbcl: move to /pkgs/by-name"
This reverts commit 0a3dab4af3

See the parent commit as to why this is necessary
2024-02-08 02:38:11 +01:00
Hraban Luyat
0a3dab4af3 sbcl: move to /pkgs/by-name 2024-01-29 12:23:21 -05:00
Hraban Luyat
51c0a89b26 sbcl: apply 2.4.0 patch to all archs
Upstream has mainlined this patch, the preprocessor macros take care of only
applying the code where necessary. There is no need for nixpkgs to if-guard it
further.
2024-01-06 23:09:33 -05:00
Hraban Luyat
d11f8b4c27 sbcl: use new GC and backport compilation fix 2024-01-02 12:52:50 -05:00
Hraban Luyat
4f03d62ec2 sbcl: 2.3.11 -> 2.4.0 2023-12-28 13:48:42 -05:00
Hraban Luyat
250268554e sbcl: 2.3.10 -> 2.3.11 2023-11-27 13:52:32 -05:00
Hraban Luyat
8b04b30e74 sbcl: 2.3.9 -> 2.3.10 2023-10-30 16:24:59 -04:00