Commit Graph

19 Commits

Author SHA1 Message Date
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