Age | Commit message (Collapse) | Author | Files | Lines |
|
We are migrating packages that meet below requirements:
1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration
The tool is here: https://github.com/Aleksanaa/by-name-migrate.
|
|
Why. No. Bad.
|
|
They skipped 0.43.1 for whatever reason.
https://github.com/grafana/agent/releases/tag/v0.43.3
https://github.com/grafana/agent/releases/tag/v0.43.2
diff: https://github.com/grafana/agent/compare/v0.43.0...v0.43.3
|
|
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"
```
|
|
https://github.com/grafana/agent/releases/tag/v0.43.0
https://github.com/grafana/agent/blob/v0.43.0/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.42.0...v0.43.0
|
|
|
|
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/'
|
|
https://github.com/grafana/agent/releases/tag/v0.41.1
https://github.com/grafana/agent/blob/v0.41.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.41.0...v0.41.1
|
|
Note: Upstream moved a few internal components into their own directory
including the flow web ui (./web/ui -> ./internal/web/ui).
Contains breaking changes.
https://github.com/grafana/agent/releases/tag/v0.41.0
diff: https://github.com/grafana/agent/compare/v0.40.5...v0.41.0
|
|
https://github.com/grafana/agent/releases/tag/v0.40.5
https://github.com/grafana/agent/blob/v0.40.5/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.40.4...v0.40.5
|
|
|
|
https://github.com/grafana/agent/releases/tag/v0.40.4
https://github.com/grafana/agent/blob/v0.40.4/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.40.3...v0.40.4
|
|
Beginning with 0.40.3, grafana-agent now requires at least go 1.22 to build.
https://github.com/grafana/agent/releases/tag/v0.40.3
https://github.com/grafana/agent/blob/v0.40.3/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.40.2...v0.40.3
|
|
https://github.com/grafana/agent/releases/tag/v0.40.2
https://github.com/grafana/agent/blob/v0.40.2/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.40.1...v0.40.2
|
|
https://github.com/grafana/agent/releases/tag/v0.40.1
https://github.com/grafana/agent/blob/v0.40.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.40.0...v0.40.1
|
|
https://github.com/grafana/agent/releases/tag/v0.40.0
https://github.com/grafana/agent/blob/v0.40.0/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.39.2...v0.40.0
|
|
`nix-update` has support for `fetchYarnDeps` via the attribute name
`offlineCache`.
Our yarn FOD is called `frontendYarnOfflineCache`, which I find more
descriptive and would like to keep this way.
To work around this requirement, this adds an alias in `passthru`.
The addition of `passthru.updateScript` also allows `nixpkgs-update` to
update this package when the yarn FOD hash needs to be updated.
See the following error from the last `nixpkgs-update` run:
https://r.ryantm.com/log/grafana-agent/2024-02-27.log
|
|
|
|
|
|
|
|
https://github.com/grafana/agent/releases/tag/v0.38.1
https://github.com/grafana/agent/blob/v0.38.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.38.0...v0.38.1
Fixes CVE-2023-47108.
|
|
Stunkymonkey/grafana-agent-migrate-prefetch-yarn-deps
grafana-agent: migrate to prefetch-yarn-deps
|
|
|
|
https://github.com/grafana/agent/releases/tag/v0.38.0
https://github.com/grafana/agent/blob/v0.38.0/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.37.4...v0.38.0
|
|
|
|
https://github.com/grafana/agent/releases/tag/v0.37.3
https://github.com/grafana/agent/blob/v0.37.3/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.37.2...v0.37.3
|
|
https://github.com/grafana/agent/releases/tag/v0.37.2
https://github.com/grafana/agent/blob/v0.37.2/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.37.1...v0.37.2
|
|
https://github.com/grafana/agent/releases/tag/v0.37.0
https://github.com/grafana/agent/blob/v0.37.0/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.36.2...v0.37.0
https://github.com/grafana/agent/releases/tag/v0.37.1
https://github.com/grafana/agent/blob/v0.37.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.37.0...v0.37.1
grafana-agent, starting with 0.37.0, requires go >= 1.21.
In nixpkgs (unstable), `buildGoModule` still refers to
`buildGo120Module`. Which, as the name suggests, uses go 1.20, and thus
does not meet the requirement, so we have to manually override it in
`all-packages.nix`.
This override can be dropped very soon again, as commit
2598cb64c13cccc1b380beeaf6b8bba0a472327a titled
`go, buildGoModule, buildGoPackage: default to 1.21` is already in
`staging-next` and will land in `master` soon.
|
|
https://github.com/grafana/agent/releases/tag/v0.36.2
https://github.com/grafana/agent/blob/v0.36.2/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.36.1...v0.36.2
|
|
https://github.com/grafana/agent/releases/tag/v0.36.1
https://github.com/grafana/agent/blob/v0.36.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.36.0...v0.36.1
|
|
https://github.com/grafana/agent/releases/tag/v0.36.0
https://github.com/grafana/agent/blob/v0.36.0/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.35.4...v0.36.0
|
|
Unbreaks building the go-modules.drv from source (read: not substituted
from cache.nixos.org).
Regression from cc4dcc08be45ee7889e99a4015a6523e641e6e65
|
|
grafana-agent: build and embed flow mode web ui
|
|
https://github.com/grafana/agent/releases/tag/v0.35.4
diff: https://github.com/grafana/agent/compare/v0.35.3...v0.35.4
|
|
https://github.com/grafana/agent/releases/tag/v0.35.3
https://github.com/grafana/agent/blob/v0.35.3/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.35.2...v0.35.3
|
|
|
|
This should fix most warnings getExe in based on grepping `nixos/`.
|
|
https://github.com/grafana/agent/releases/tag/v0.35.1
https://github.com/grafana/agent/blob/v0.35.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.35.0...v0.35.1
https://github.com/grafana/agent/releases/tag/v0.35.2
https://github.com/grafana/agent/blob/v0.35.2/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.35.1...v0.35.2
|
|
https://github.com/grafana/agent/releases/tag/v0.35.0
https://github.com/grafana/agent/blob/v0.35.0/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.34.3...v0.35.0
|
|
https://github.com/grafana/agent/blob/v0.34.3/CHANGELOG.md
https://github.com/grafana/agent/releases/tag/v0.34.3
diff: https://github.com/grafana/agent/compare/v0.34.2...v0.34.3
|
|
https://github.com/grafana/agent/releases/tag/v0.34.2
https://github.com/grafana/agent/blob/v0.34.2/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.34.1...v0.34.2
|
|
|
|
https://github.com/grafana/agent/blob/v0.34.1/CHANGELOG.md
https://github.com/grafana/agent/releases/tag/v0.34.1
diff: https://github.com/grafana/agent/compare/v0.34.0...v0.34.1
|
|
https://github.com/grafana/agent/blob/v0.34.0/CHANGELOG.md
https://github.com/grafana/agent/releases/tag/v0.34.0
diff: https://github.com/grafana/agent/compare/v0.33.2...v0.34.0
|
|
|
|
https://github.com/grafana/agent/releases/tag/v0.33.2
https://github.com/grafana/agent/blob/v0.33.2/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.33.1...v0.33.2
|
|
|
|
https://github.com/grafana/agent/releases/tag/v0.33.1
https://github.com/grafana/agent/blob/v0.33.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.33.0...v0.33.1
|
|
|
|
|