Commit Graph

12 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
R. Ryantm
9913cedc5b nest: 3.7 -> 3.8 2024-08-03 02:21:53 +00:00
Sigmanificient
2ee703dccb pkgs/applications: remove unused arguments 2024-07-26 11:36:49 +02:00
Weijia Wang
5bc788216a nest: fix hash 2024-04-20 10:17:24 +02:00
R. Ryantm
15b7dddaba python311Packages.nest: 3.6 -> 3.7 2024-04-12 13:50:38 +00:00
R. Ryantm
a78f4ed541 nest-mpi: 3.5 -> 3.6 2023-09-30 18:54:13 +00:00
R. Ryantm
ead7b7800d nest-mpi: 3.4 -> 3.5 2023-07-08 16:03:30 +00:00
Fabian Affolter
109f8ccdfe
nest: specify license 2023-03-18 11:23:52 +01:00
Fabian Affolter
c7ec291235
nest: add changelog to meta 2023-03-18 11:23:06 +01:00
Weijia Wang
ea847dd1a0 nest: 3.3 -> 3.4 2023-03-18 12:13:46 +02:00
DavidCromp
5ce4a02687 nest: fix Python & Darwin
Removed auto-patch-elf and replaced with find command that moves
libraries where they are expected by nest. Auto-patchelf isn't
supported on aarch64, so I copied my local derivation fix I've been
using.

PyNEST also requires numpy, so that has been added to
propagatedbuildinputs.

Also added support for OpenMP on Darwin.
2023-02-25 10:28:59 -05:00
Jiajie Chen
fc2812a1f8 nest: init at 3.3 2022-11-10 09:20:41 +08:00