Commit Graph

54 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
Anthony ROUSSEL
7a386c3cc0 amazon-ec2-utils: migrate to pkgs/by-name, format with nixfmt-rfc-style 2024-09-17 22:02:44 +02:00
nicoo
45b95421fd
lib.fetchers: add hash-normalization helpers (#342072) 2024-09-17 14:59:43 +00:00
nicoo
50ca073e52 amdvlk: sha256hash 2024-09-17 06:34:07 +00:00
nicoo
2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00
R. Ryantm
053c989b9f amazon-ssm-agent: 3.3.808.0 -> 3.3.859.0 2024-09-09 10:55:53 +00:00
aleksana
71419b8dcf amp: add aleksana to maintainers 2024-09-07 15:58:20 +02:00
aleksana
fdda62acd5 amp: refactor 2024-09-07 15:58:20 +02:00
aleksana
11eb2396e6 amp: fix build due to rust 1.80 update 2024-09-07 15:58:20 +02:00
aleksana
7905b1a5a8 amp: move to pkgs/by-name 2024-09-07 15:58:20 +02:00
Adam C. Stephens
1bcdb97417
amazon-ssm-agent: substitute --replace with --replace-fail (#337268) 2024-09-02 20:32:37 -04:00
github-actions[bot]
b857d97eec
Merge master into staging-next 2024-08-30 18:04:02 +00:00
R. Ryantm
2fe8843678 driversi686Linux.amdvlk: 2024.Q3.1 -> 2024.Q3.2 2024-08-30 14:09:57 +00:00
github-actions[bot]
d62aaef66a
Merge master into staging-next 2024-08-28 00:13:03 +00:00
R. Ryantm
4992478d6e amazon-ssm-agent: 3.3.551.0 -> 3.3.808.0 2024-08-27 12:39:14 +00:00
Roland Coeurjoly
0fca129271 amazon-ssm-agent: substitute --replace with --replace-fail 2024-08-25 17:24:05 +02:00
K900
5c68540f8b Merge remote-tracking branch 'origin/staging-next' into staging 2024-08-22 13:20:38 +03:00
Masum Reza
c0cdeaff88
Merge pull request #331119 from d-brasher/init-amd-ucodegen
amd-ucodegen: init at 0-unstable-2017-06-07
2024-08-19 18:03:43 +05:30
John Titor
a72194fa1a
amdvlk: move to pkgs/by-name 2024-08-17 22:50:24 +05:30
jopejoe1
999df5035f amf: init at 1.4.34-1787253 2024-08-09 08:16:12 +02:00
jopejoe1
63827efb6c amdenc: init at 1.0-1787253 2024-08-09 08:01:11 +02:00
d-brasher
69aeeff2de amd-ucodegen: init at 0-unstable-2017-06-07 2024-08-03 17:07:01 +02:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
Arian van Putten
43f06ccf4c
Merge pull request #323088 from r-ryantm/auto-update/amazon-ssm-agent
amazon-ssm-agent: 3.3.484.0 -> 3.3.551.0
2024-06-29 11:49:23 -04:00
aleksana
8f5e7380aa amber-lang: add aleksana as maintainer 2024-06-28 20:27:27 +08:00
aleksana
ef0814084b amber-lang: 0.3.1-alpha -> 0.3.3-alpha 2024-06-28 20:26:52 +08:00
R. Ryantm
be7b4539ea amazon-ssm-agent: 3.3.484.0 -> 3.3.551.0 2024-06-28 04:33:17 +00:00
Arian van Putten
494442762c amazon-ssm-agent: remove overrideEtc parameter
This was meant to make amazon-ssm-agent work "out of the box" on non-NixOS
systems but the feature never really worked.

The problem is that amazon-ssm-agent looks for the files "amazon-ssm-agent.json"
and "seelog.xml" but the files in the package are named
"amazon-ssm-agent.json.template" and "seelog.xml.template". So even with
this overrideEtc = true it would not be able to find the config.

E.g. you'd get an error like

Error occurred fetching the seelog config file path:  open /nix/store/pyfxjr0i0hszcj9b6fqly6344zf9zhcb-amazon-ssm-agent-3.3.484.0/etc/amazon/ssm/seelog.xml: no such file or directory
on startup.

Removing this parameter from the from the package doesn't break things as it didn't work in the first place.
2024-06-12 11:50:17 +02: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
Arian van Putten
4ab40e73a5
amazon-ssm-agent: add arianvp to maintainers
I use this package at work. Might as well start maintaining it.
2024-06-08 22:11:51 +03:00
R. Ryantm
a6a98862d0 amazon-ssm-agent: 3.3.131.0 -> 3.3.484.0 2024-05-30 21:08:18 +00:00
Christina Sørensen
a5a479363d
amber-lang: init at 0.3.1-alpha
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-05-23 14:00:57 +02:00
Weijia Wang
19c30e016f am2rlauncher: wrapGAppsHook -> wrapGAppsHook3 2024-04-27 10:32:44 +02:00
Noah Snelson
90cdb085c7 am2rlauncher: fix error with missing GSettings schemas 2024-04-18 23:11:48 -07:00
Sandro Jäckel
bfa0e69c06 amphetype: fix qt wrapping 2024-04-06 09:14:49 +02:00
Nikolay Korotkiy
d44326a81a
amfora: migrate to by-name 2024-03-19 20:02:18 +04: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
9f254238c8 amazon-ssm-agent: 3.3.40.0 -> 3.3.131.0 2024-03-12 20:44:29 +00:00
Weijia Wang
ed05810f2b
Merge pull request #288012 from r-ryantm/auto-update/amazon-ssm-agent
amazon-ssm-agent: 3.2.2222.0 -> 3.3.40.0
2024-03-07 23:54:51 +01:00
Leona Maroni
d32f944128
Merge pull request #253203 from peeley/am2rlauncher-init
am2rlauncher: init at 2.3.0
2024-03-06 21:00:44 +01:00
Noah Snelson
17cd479aee am2rlauncher: init at 2.3.0 2024-02-24 11:41:22 -08:00
R. Ryantm
9a733b06be amazon-ssm-agent: 3.2.2222.0 -> 3.3.40.0 2024-02-11 11:44:23 +00:00
Robert Helgesson
5054d1282f amphetype: add desktop item 2024-02-09 11:54:59 +00:00
R. Ryantm
63ec34219f amazon-ssm-agent: 3.2.2143.0 -> 3.2.2222.0 2024-02-01 01:31:59 +00:00
Anthony Roussel
a1bbc7201e
amazon-ssm-agent: 3.2.2086.0 -> 3.2.2143.0
https://github.com/aws/amazon-ssm-agent/releases/tag/3.2.2143.0
https://github.com/aws/amazon-ssm-agent/compare/3.2.2086.0...3.2.2143.0
2024-01-22 13:56:24 +01:00
R. Ryantm
bab910d655 amazon-ssm-agent: 3.2.1798.0 -> 3.2.2086.0 2023-12-31 04:03:17 +00:00
Robert Helgesson
71807aee99 amphetype: init at 1.0.0 2023-12-21 09:40:52 +01:00
Mario Rodas
fa14a14694
Merge pull request #258036 from anthonyroussel/fix-ssm-seelog
nixos/amazon-ssm-agent: fix missing seelog.xml file
2023-11-19 18:55:57 -05:00
Anthony Roussel
f263c60908
amazon-ssm-agent: add darwin support 2023-11-14 09:32:19 +01:00
Anthony Roussel
a02ff694be
amazon-ssm-agent: 3.2.1705.0 -> 3.2.1798.0
https://github.com/aws/amazon-ssm-agent/releases/tag/3.2.1798.0
https://github.com/aws/amazon-ssm-agent/compare/3.2.1705.0...3.2.1798.0
2023-11-14 09:32:13 +01:00