32 Commits

Author SHA1 Message Date
Stefan Frijters e07f871210 sbclPackages.cl-ana_dot_hdf-cffi: move NIX_LDFLAGS into env for structuredAttrs 2026-03-23 12:49:26 +01:00
Michael Daniels 547f9df74d sbclPackages.named-readtables: fix build
Commit is now included in the downloaded source, so the patch doesn't apply.
2026-02-21 22:47:30 -05:00
Philip Taron 88d32db64a sbclPackages.cl-ana_dot_makeres: remove override for package deleted in Quicklisp update
The cl-ana_dot_makeres package was removed from imported.nix in
1314186018 (lispPackages: update from quickisp-2026-01-01) on staging.
The override added in bdd4fb5000 on master now references a
nonexistent package, causing an eval failure on staging-next.
2026-02-16 23:06:20 +01:00
Philip Taron bdd4fb5000 sbclPackages.cl-ana: fix type error in fixed-mem-cache for SBCL 2.6.0
In cl-ana.makeres, the fixed-mem-cache function uses
(setf (cdr (last cache)) (list id)) where cache can be nil (initial
state or after popping all elements). (last nil) returns nil, making
(setf (cdr nil) ...) undefined. SBCL 2.6.0's stricter type inference
catches this as a type conflict, causing COMPILE-FILE-ERROR.

Replace with nconc which handles the nil case correctly.
2026-02-16 06:51:22 -08:00
Philip Taron ddcc48c352 sbclPackages.antik-base, etc: remove broken documentation.pdf symlink
The antik source archive contains a documentation.pdf symlink pointing
to documentation/build/latex/Antik.pdf which doesn't exist, causing
the noBrokenSymlinks check to fail. Remove it in all five packages
built from this archive: antik, antik-base, foreign-array,
physical-dimension, and science-data.
2026-02-16 06:32:02 -08:00
Philip Taron 76d77908d6 sbclPackages.named-readtables: fix build with SBCL 2.6.0
SBCL commit 00eabf5 changed the readtable's base-char-macro-array to
store 0 instead of NIL for non-macro characters. Since (if 0 ...) is
truthy in Common Lisp, the named-readtables readtable iterator
incorrectly yields all characters, causing assertion failures in
check-reader-macro-conflict when packages like cl-interpol,
pythonic-string-reader, and antik-base merge readtables.

Apply upstream fix from melisgl/named-readtables@6eea566.
2026-02-16 06:31:29 -08:00
Wolfgang Walther 3e505de718 freeimage: drop
Very insecure.
2025-10-23 13:54:39 +02:00
Grimmauld cd062f040e treewide: update to webkitgtk_4_1 where possible
Methodology:
- `sed` to find and replace in pkgs/*
- exclude pkgs/top-level
- nixpkgs-review on x86_64-linux and aarch64-linux
- revert everything that doesn't build
- revert everything that doesn't launch [x86_64-linux]
- check upstream source whether the change makes sense [free software only]
2025-04-22 16:52:29 +02:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](https://github.com/NixOS/nixpkgs/tree/8616af08d915377bd930395f3b700a0e93d08728/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Wolfgang Walther 7dbeb1be3a various: switch to lighter libpq package instead of postgresql
No need for the full server package when you only need libpq.
2025-03-14 19:03:06 +01:00
Rob Glossop 83d059ddf7 sbclPackages._3d-math: build fix
3d-math needs a >=4GB heap size to build, so ensure this, at least on SBCL.
2024-12-07 22:21:50 -08:00
Kasper Gałkowski 2c1f56b961 cl-duckdb: update override for version in quicklisp 2024-10-20 11:51:55 +02:00
Fabián Heredia Montiel ccec93c1c7 treewide: replace webkitgtk to webkitgtk_4_0
sed -i 's/ webkitgtk\b/ webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/(webkitgtk\b/(webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/\.webkitgtk\b/.webkitgtk_4_0/g' pkgs/**.nix

webkitgtk is currently pointing to that specific ABI version but the
alias is going to start warning
2024-10-11 17:23:43 -06: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
K900 c101f846b3 sbclPackages.cl-fam: remove override to fix eval 2024-09-02 13:55:18 +03:00
Martin Weinelt 2096642430 Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/os-specific/windows/mingw-w64/default.nix
2024-06-23 19:09:00 +02:00
Emily fbda1dbfd6 treewide: replace freeglut with libglut
Allow the macOS GLUT framework to be used automatically in many
cases. Packages that specifically search for freeglut or require its
additional APIs should still explicitly depend on it.

Deliberately skip the Haskell package set, which is mostly
automatically generated, and mupdf, which has its own fork of freeglut.
2024-06-22 18:06:51 +01:00
Kasper Gałkowski 8cd61aa964 sbclPackages.cffi: use newest version from quicklisp 2024-06-22 18:01:28 +02:00
Robert Glossop 8601a83d69 sbclPackages.vk: add vulkan-loader dependency 2024-06-21 22:15:57 -07:00
buffet 91c7524fd2 lispModules_new.sdl2-{image,mixer,ttf}: add native libs 2023-08-16 16:59:21 +02:00
Artturin b93da3f4b7 treewide: overrideScope' -> overrideScope
`lib.makeScope` `overrideScope'` has been renamed to `overrideScope`

`fd --type f | xargs sd --string-mode "overrideScope'" "overrideScope"`
2023-08-14 18:46:47 +03:00
Michael Raskin f10602da92 sbcl.pkgs.{…}: add missing native dependencies
Full list of packages going from failure to build to build:

cl-charms libusb-ffi cl-fam jpeg-turbo vorbisfile-ffi png zmq
consfigurator cl-gss magicffi keystone capstone
2023-08-11 18:19:48 +02:00
Kasper Gałkowski 0d84933bfe sbcl.pkgs: update to Quicklisp dist from June 2023 2023-07-14 21:37:56 +02:00
Felix Buehler 6672dde558 treewide: use optionalAttrs instead of 'else {}' 2023-06-25 11:01:34 -03:00
Daniel Nagy 80a2d06850 lisp-modules.log4cl fix build on sbcl 2023-05-09 19:30:00 +02:00
Luke Gorrie f6b48239e4 lisp-modules.mcclim-layouts: fix build 2023-04-14 14:50:34 +02:00
Luke Gorrie 0afe48b332 lisp-modules.mcclim: fix build failure
Introduce out-of-tree fixes to McCLIM build from
https://github.com/Uthar/nix-cl/issues/32
2023-04-14 13:26:02 +02:00
Robert Schütz f60d291f64 lisp-modules: don't use mysql alias 2023-04-03 18:01:52 -07:00
Robert Schütz a182101ae7 lisp-modules: don't use mysql-client alias 2023-04-03 17:56:23 -07:00
Kasper Gałkowski 653ba45834 sbclPackages.math: fix build
There was a compile-time pathname into the home directory. It was patched to be
a function that works on run-time.
2023-03-10 20:13:54 +01:00
Kasper Gałkowski 5f2e4cf4be sbclPackages.hu_dot_dwim_dot_graphviz: fix build
hu.dwim.graphviz didn't build because of lack of graphiz in nativeLibs
2023-03-02 19:04:47 +01:00
Kasper Gałkowski 9e860e41eb lisp-modules: init
From https://github.com/Uthar/nix-cl
Commit ebeb76057abf01029067f1ebe0ae6fae90848bfe
2023-03-02 19:04:47 +01:00