Commit Graph

28 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
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
annalee
0d7dc0efc5
treewide: throw on unsupported system src access 2024-04-05 02:30:42 +00:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Anderson Torres
492414af5f treewide: remove cstrahan from meta.maintainers - part 1
All the packages here are now orphaned.
2023-10-04 22:20:58 -03:00
Manu [tennox]
d52f3f6d4b meteor: fix missing shared libraries: libcurl.so.4 & liblzma.so.5
See https://github.com/NixOS/nixpkgs/issues/216969
2023-05-01 18:29:33 +03:00
Bill Ewanick
a37a6de881 meteor: formatting 2022-08-19 01:12:51 -04:00
Bill Ewanick
8248b6e741 meteor: 1.12 -> 2.7.3 2022-08-19 01:12:51 -04:00
Robert Scott
61c35da607 treewide/servers,tools: add sourceType binaryNativeCode for many packages 2022-06-16 20:21:42 +01:00
Ben Siraphob
0fcc2b59ff meteor: fix meta.homepage 2021-12-31 11:17:07 -08:00
Nikolay Korotkiy
6403ffe2e1
meteor: enable on darwin 2021-01-05 20:01:48 +03:00
sternenseemann
456ab13f90 meteor: 1.10.2 -> 1.12 2020-12-30 13:25:36 +01:00
sternenseemann
aa35d565ff meteor: 1.10.1 -> 1.10.2 2020-05-14 21:33:52 -07:00
R. RyanTM
abdeb15baf meteor: 1.9.3 -> 1.10.1 2020-05-06 11:21:03 -07:00
R. RyanTM
b7ae4d6bf8 meteor: 1.8.2 -> 1.9.3 2020-03-24 11:14:44 -07:00
Kyle Sferrazza
262e79e3c3 meteor: 1.8.1 -> 1.8.2 2019-12-07 19:15:05 +01:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Florian Klink
1b946574af meteor: 1.5 -> 1.8.1 2019-08-09 20:51:33 +02:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Gabriel Adomnicai
49eb1664d8 meteor: 1.4.2.3 -> 1.5 (#28905) 2017-09-13 19:35:36 +00:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Gabriel Adomnicai
bc7c311c4d Fixed meteor Future is not defined error 2017-07-09 09:15:33 -07:00
Wei Tang
4a80a97ca9
meteor: 1.4.2.1 -> 1.4.2.3 2017-03-06 09:03:44 -05:00
Wei Tang
15ea9bcfee
meteor: 1.2.0.1 -> 1.4.2.1 2017-03-06 09:03:41 -05:00
Tuomas Tynkkynen
1829c84009 meteor: Use makeLibraryPath 2016-06-07 21:18:29 +03:00
Nikolay Amiantov
87ebab128a replace ${stdenv.cc.cc}/lib occurences 2016-05-01 00:13:23 +03:00
Tuomas Tynkkynen
ed7dbb46a8 treewide: Mass replace 'zlib}/lib' to refer the 'out' output 2016-01-24 10:03:39 +02:00
Charles Strahan
25e582c497 meteor: init at 1.2.0.1
closes #10064
2015-09-28 10:39:37 -04:00