Commit Graph

10 Commits

Author SHA1 Message Date
chn
ca733c424f ovito: 3.7.11 -> 3.11.0
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-10-20 23:57:31 +08: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
aleksana
1a89942243 treewide: sha256 -> hash attribute for gitlab.com fetchers 2024-07-13 22:28:37 +08:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
5fd24928ad ovito: 3.7.7 -> 3.7.11 2022-12-27 08:08:01 +00:00
R. Ryantm
aa06793cb4 ovito: 3.7.1 -> 3.7.7 2022-08-01 05:02:26 +00:00
R. Ryantm
cb3a58a603 ovito: 3.6.0 -> 3.7.1 2022-04-29 09:40:36 -05:00
Pavol Rusnak
0b5c462b4e
ovito: 3.4.0 -> 3.6.0 2022-01-06 20:40:39 +01:00
Will Cohen
93c3b17f75 ovito: mark as broken on darwin 2022-01-06 13:09:12 -05:00
Tyson Whitehead
6873dc2341
ovito: init at 3.4.0 2021-02-01 11:43:16 -05:00