Commit Graph

61 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
gaykitty
15b6250dc3 stargazer: 1.3.0 -> 1.3.1 2024-09-01 14:54:10 -04:00
gaykitty
aa182b1dc5 stargazer: 1.2.1 -> 1.3.0 2024-08-17 18:19:34 -04:00
Nikolay Korotkiy
ee732eb25c
agate: migrate to by-name 2024-07-26 23:47:27 +04:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Artturin
4c0ab03305
Merge pull request #315838 from JohnRTitor/agate
agate: 3.3.4 -> 3.3.7
2024-06-02 19:49:47 +03:00
John Titor
efd4ac1194
agate: cleanup
format with nixfmt-rfc-style
use `lib.` explicitly

update changelog url
2024-05-30 14:15:16 +05:30
John Titor
01eec1f849
agate: 3.3.4 -> 3.3.7
add new dependency openssl
add nix update script
2024-05-30 14:11:05 +05:30
gaykitty
43b1df204b stargazer: 1.1.0 -> 1.2.1 2024-05-25 10:38:39 -04:00
Nikolay Korotkiy
eaf5fc1813
gmid: migrate to by-name 2024-04-10 19:47:15 +04:00
R. Ryantm
d658bf38b4 gmid: 1.8.6 -> 2.0.2 2024-04-08 10:13:18 +00: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
Nikolay Korotkiy
836354b573
agate: 3.3.3 → 3.3.4 2024-02-08 01:07:58 +04:00
Nikolay Korotkiy
20f64b5d77
agate: 3.3.1 → 3.3.3 2023-12-30 17:37:34 +04:00
gaykitty
fe5f6ab623 stargazer: Add nixosTests.stargazer to passthru.tests 2023-11-26 11:02:02 -05:00
gaykitty
527c32fc74 stargazer: 1.0.5 -> 1.1.0
Includes security patch for RUSTSEC-2023-0052
Change log: https://git.sr.ht/~zethra/stargazer/refs/1.1.0
2023-11-24 19:26:56 -05:00
Nikolay Korotkiy
d7fa28d711
agate: 3.3.0 → 3.3.1 2023-08-15 23:43:24 +04:00
Nikolay Korotkiy
9a18b6c073
stargazer: enable on darwin 2023-05-21 10:58:16 +04:00
gaykitty
726da3a8b5 stargazer: init at 1.0.5 2023-04-15 19:16:08 -03:00
Nikolay Korotkiy
832a6df04c
agate: 3.2.4 → 3.3.0 2023-03-19 18:34:32 +04:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Aaron Jheng
b8ff993fef
molly-brown: unstable-2020-08-19 -> unstable-2023-02-10 2023-02-12 12:57:17 +00:00
ajs124
ebf3a404f6 gmnisrv: don't pin to openssl_1_1 2023-01-16 20:09:28 +01:00
R. Ryantm
78989571f8 gmid: 1.8.5 -> 1.8.6 2022-12-03 06:30:04 +00:00
R. Ryantm
db08a1dfae gmid: 1.8.4 -> 1.8.5 2022-11-01 21:52:24 +00:00
R. Ryantm
4df0c24d31 gmid: 1.8.3 -> 1.8.4 2022-07-29 11:16:39 +00:00
06kellyjac
ce7ebe6cca agate: 3.2.3 -> 3.2.4 2022-05-18 14:32:17 +01:00
Heph
554fc3d627 gmid: 1.8.1 -> 1.8.3 2022-04-16 17:39:06 +03:00
06kellyjac
cb490c7d95 agate: 3.2.2 -> 3.2.3 2022-03-01 14:18:09 +00:00
heph2
895a3dd675
gmid: 1.8 -> 1.8.1
* gmid: 1.8 -> 1.8.1 (#159180)

* gmid: fix v1.8.1 source hash
and use configureFlags instead of overriding configurePhase

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
2022-02-18 01:18:19 +01:00
Sandro
a6d259faf3
Merge pull request #141650 from 06kellyjac/agate 2022-02-16 00:56:27 +01:00
06kellyjac
354b240782 nixos/agate: add nixos test 2022-02-07 16:03:58 +00:00
Jonathan Ringer
c6c7162876
Merge remote-tracking branch 'origin/staging-next' into staging 2022-02-03 21:34:17 -08:00
Nikolay Korotkiy
06d0bc55bf
gmid: 1.7.5 → 1.8 2022-02-03 14:16:38 +03:00
github-actions[bot]
f50f916355
Merge staging-next into staging 2022-01-29 12:01:37 +00:00
06kellyjac
628ea398d8 agate: 3.1.0 -> 3.2.2 2022-01-28 15:50:10 +00:00
Sandro Jäckel
ac2f732626 gmnisrv: mime-types -> mailcap 2022-01-26 14:30:10 -08:00
Jonathan Ringer
dd15c5cec8 agate: fix meta
old link is dead
2021-12-03 12:32:21 -08:00
Nikolay Korotkiy
21f640f93a
gmid: fix cross-compilation 2021-11-16 12:30:31 +03:00
Nikolay Korotkiy
f8c288d306 gmnisrv: unstable-2021-05-16 → 1.0 2021-11-12 21:14:52 +01:00
Nikolay Korotkiy
aa52a861a0
gmid: init at 1.7.5 2021-10-25 10:01:09 +03:00
06kellyjac
3fd6291038 agate: 3.0.3 -> 3.1.0 2021-06-08 14:48:57 +01:00
Nikolay Korotkiy
c79e3ded4b gmnisrv: fix security vulnerability 2021-05-28 20:28:20 +02:00
R. RyanTM
022465fba3 agate: 3.0.2 -> 3.0.3 2021-05-26 23:43:39 -07:00
Stéphan Kochen
c16bc80432 agate: fix darwin build 2021-05-11 20:28:44 +02:00
06kellyjac
d5a4dec5d2 agate: fix cargoSha256 change 2021-04-16 18:24:08 +01:00
06kellyjac
0c2126ae61 agate: 3.0.1 -> 3.0.2 2021-04-08 21:56:13 +01:00
Ben Sima
b79f866f88 gmnisrv: init at unstable-2021-03-26
Reviewed-by: William Casarin <jb55@jb55.com>
Link: https://lists.sr.ht/~andir/nixpkgs-dev/%3C20210330145338.8149-2-ben@bsima.me%3E
2021-03-31 18:35:50 -07:00
06kellyjac
98a97f0e5f agate: 3.0.0 -> 3.0.1 2021-03-29 23:46:44 +01:00