Commit Graph
23 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
Emily db5f130b43 gforth: adjust comment
This no longer uses the `swig3` package.
2024-09-12 18:39:57 +01:00
Ben Darwin 7e26b553f9 gforth: override swig, not swig3
This removes one of two remaining usages of the top-level `swig3` expression.
(The other comes from older LLDB versions.)

Also removes use of overrideDerivation in favour of preferred overrideAttrs.
2024-09-11 14:06:16 -04:00
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Daniel Nagy 98479f2656 gforth: 0.7.9_20220127 -> 0.7.9_20230518
Diff: https://github.com/forthy42/gforth/compare/0.7.9_20220127...0.7.9_20230518
2023-06-18 19:15:00 +02:00
Stanisław Pitucha 00ebbf5bd1 gforth: mark as broken on darwin aarch64
The build fails with:
```
(vars) ./gforthmi gforth.fi  --die-on-signal -p ".:~+:." -i kernl64l.fi exboot.fs startup.fs arch/arm64/asm.fs arch/arm64/disasm.fs

Segmentation fault: 11.
```
2023-03-19 16:52:17 +11:00
Artturin 7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Robert Scott 27d4500b61 gforth: unmark broken on darwin 2022-06-11 19:13:40 +01:00
Robert Scott b71cff07a7 gforth: explicitly set lispdir
otherwise in situations where we don't have a working sandbox
(darwin), if /usr/share/emacs happens to exist, the install
phase will try to put its lisp files there and fail due to
permissions.
2022-06-11 19:13:29 +01:00
Rick van SchijndelandJanne Heß 0b45cae8a3 treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
Dmitry KalinkinandGitHub 3b050bd9c3 gforth: use pname 2022-02-07 21:50:20 -05:00
Herwig Hochleitner 08836b254e gforth: enable swig bindings 2022-02-08 02:36:18 +01:00
1a5c6d8d55 gforth: remove useless comment
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2021-11-26 03:22:47 +01:00
0e00c0b8f3 gforth: replace name with pname
Co-authored-by: Ben Siraphob <bensiraphob@gmail.com>
2021-11-26 02:42:32 +01:00
Herwig Hochleitner 43cab04688 gforth: 0.7.3 -> 0.7.9_20211111
This updates to forthy42's version, which the community seems to have
transitioned to.
2021-11-16 12:53:17 +01:00
Ben Siraphob acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Jörg Thalheim 887295fd2d treewide: remove the-kenny from maintainers
@the-kenny did a good job in the past and is set as maintainer in many package,
however since 2017-2018 he stopped contributing. To create less confusion
in pull requests when people try to request his feedback, I removed him as
maintainer from all packages.
2020-05-09 10:28:57 +01:00
Michael ReillyandJörg Thalheim 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Silvan Mosbergerandxeji 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Henry TillandMoritz Ulrich d2d3ef953e gforth: fix build on darwin 2016-04-06 23:21:09 +02:00
Moritz Ulrich b46201250c gforth: Install gforth.el & add meta-data. 2014-11-18 14:45:28 +01:00
Paul KoerbitzandAristid Breitkreuz c15b4e1ac1 Add gforth to development/compilers 2014-09-22 19:56:52 +02:00