Commit Graph

1186 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
techknowlogick
67f0c63700 gitea-actions-runner: move to pkgs/by-name 2024-09-24 15:17:25 -04:00
R. Ryantm
fcd82800bc woodpecker-plugin-git: 2.5.2 -> 2.6.0 2024-09-20 21:24:24 +00:00
R. Ryantm
b95c0fd7f6 jenkins: 2.462.1 -> 2.462.2 2024-09-09 08:37:48 +00:00
Adam Stephens
ebde8bf633 woodpecker-server: 2.7.0 -> 2.7.1 2024-09-07 22:21:39 +00:00
Nikolay Korotkiy
b12f10e527 cirrus-cli: migrate to by-name 2024-09-01 16:53:43 +04:00
R. Ryantm
c291955fe2 cirrus-cli: 0.122.4 -> 0.124.2 2024-09-01 10:22:57 +00:00
R. Ryantm
38486e07e8 cirrus-cli: 0.122.2 -> 0.122.4 2024-08-27 01:21:43 +00:00
R. Ryantm
9570ff34b7 cirrus-cli: 0.122.0 -> 0.122.2 2024-08-20 10:14:49 +00:00
Peder Bergebakken Sundt
e471916645 treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
Fabián Heredia Montiel
7d0b23556d Merge pull request #334333 from r-ryantm/auto-update/jenkins
jenkins: 2.452.3 -> 2.462.1
2024-08-15 15:00:38 -06:00
R. Ryantm
b1a830f5c1 jenkins: 2.452.3 -> 2.462.1 2024-08-13 08:34:03 +00:00
R. Ryantm
40cb557d40 cirrus-cli: 0.121.0 -> 0.122.0 2024-08-12 22:43:43 +00:00
Jonas Chevalier
9a645edbb7 github-runner: move to by-name (#333309)
Allow the merge bot to work
2024-08-12 11:09:36 +02:00
Azat Bahawi
f3903d65fc github-runner: 2.317.0 -> 2.319.0 2024-08-08 18:42:06 +03:00
Donovan Glover
b815ee34f0 Merge pull request #329466 from r-ryantm/auto-update/cirrus-cli
cirrus-cli: 0.120.3 -> 0.121.0
2024-08-04 05:34:42 +00:00
zowoq
8981a04d4e buildbot: 4.0.1 -> 4.0.2
Changelog: https://github.com/buildbot/buildbot/releases/tag/v4.0.2
2024-08-04 09:19:36 +10:00
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
Rick van Schijndel
6c6085f2c2 woodpecker: fix typo in shebang and missing text in warning
Found this while searching for #!/bin/sh, I forgot the !
2024-08-01 22:40:40 +02:00
zimbatm
7d7fd84248 buildkite-agent: move to by-name 2024-07-31 09:10:34 +02:00
zimbatm
009f33ce92 gitlab-runner: move to by-name 2024-07-31 09:10:33 +02: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
Vladimír Čunát
a5b2fe7374 Merge #328673: staging-next 2024-07-20 2024-07-28 13:45:55 +02:00
Matthias Beyer
39ec748a69 Merge pull request #328321 from r-ryantm/auto-update/gitlab-runner
gitlab-runner: 17.1.0 -> 17.2.0
2024-07-28 09:53:48 +02:00
Vladimír Čunát
64c6a981fe Merge branch 'master' into staging-next 2024-07-27 09:18:58 +02:00
Nick Cao
3d6a9dbb9b Merge pull request #330214 from r-ryantm/auto-update/woodpecker-plugin-git
woodpecker-plugin-git: 2.5.1 -> 2.5.2
2024-07-26 17:18:55 -04:00
R. Ryantm
4f441c2408 woodpecker-plugin-git: 2.5.1 -> 2.5.2 2024-07-26 16:38:28 +00:00
Martin Weinelt
93f4195fe0 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/applications/graphics/seamly2d/default.nix
2024-07-26 18:05:04 +02:00
Sigmanificient
543cd40ecc treewide: remove trailing space in description
Done using `grep -rP 'description\s+=\s+"[^"]+[ ]";' | cut -d ':' -f 1 |
xargs -i nvim {}` and sorting the opened files by hand, avoiding
generated packages list
2024-07-26 03:38:50 +02:00
R. Ryantm
c032450a0c cirrus-cli: 0.120.3 -> 0.121.0 2024-07-23 18:13:12 +00:00
github-actions[bot]
f6ed4c2f35 Merge staging-next into staging 2024-07-19 06:01:45 +00:00
Adam Stephens
adf2eb4062 woodpecker-server: 2.6.0 -> 2.7.0
https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.7.0

https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-xw35-rrcp-g7xm
https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-3wf2-2pq4-4rvc
2024-07-18 23:17:23 -04:00
R. Ryantm
3fb2fd6c73 gitlab-runner: 17.1.0 -> 17.2.0 2024-07-19 02:05:13 +00:00
Artturin
a516ea8c99 Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00
R. Ryantm
f8d18763ec jenkins: 2.452.2 -> 2.452.3 2024-07-14 20:11:25 +00:00
github-actions[bot]
31817540ee Merge staging-next into staging 2024-07-14 18:01:37 +00:00
Nick Cao
506d343d66 Merge pull request #327051 from r-ryantm/auto-update/cirrus-cli
cirrus-cli: 0.120.2 -> 0.120.3
2024-07-14 11:04:36 -04:00
Aleksana
3ea85ac338 Merge pull request #326827 from Aleksanaa/trivial-sha256-fix
treewide: sha256 -> hash attribute for gitlab.com,codeberg.org fetchers
2024-07-14 22:40:25 +08:00
github-actions[bot]
0d7af056e2 Merge staging-next into staging 2024-07-14 12:02:04 +00:00
Bruno BELANYI
31e2bb60bc Merge pull request #326848 from r-ryantm/auto-update/woodpecker-plugin-git
woodpecker-plugin-git: 2.5.0 -> 2.5.1
2024-07-14 10:43:52 +01:00
R. Ryantm
597330e08b cirrus-cli: 0.120.2 -> 0.120.3 2024-07-14 07:47:12 +00:00
Vladimír Čunát
211398c03e Merge branch 'staging-next' into staging 2024-07-14 08:35:35 +02:00
R. Ryantm
cb41d0ac1a woodpecker-plugin-git: 2.5.0 -> 2.5.1 2024-07-13 15:33:29 +00:00
aleksana
1a89942243 treewide: sha256 -> hash attribute for gitlab.com fetchers 2024-07-13 22:28:37 +08:00
zowoq
a9fd70b263 buildbot: 4.0.0 -> 4.0.1 2024-07-13 09:05:50 +10:00
Martin Weinelt
176a56c40f Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/applications/misc/blender/default.nix
- pkgs/development/web/nodejs/nodejs.nix
2024-07-11 01:06:28 +02:00
Christoph Heiss
ff3f131d35 codeberg-pages: add myself as maintainer
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-07-07 21:06:29 +02:00
Christoph Heiss
7d0bccb1c5 codeberg-pages: add meta.changelog
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-07-07 18:02:08 +02:00
Christoph Heiss
894279ce01 codeberg-pages: fix binary name for meta.mainProgram
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-07-07 18:02:02 +02:00
Christoph Heiss
e6123abaf7 codeberg-pages: add nix-update-script
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-07-07 18:02:02 +02:00