mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01:00
Merge pull request #14202 from NixOS/backport-14199-to-2.32-maintenance
[Backport 2.32-maintenance] packaging: only override `toml11` when necessary
This commit is contained in:
commit
70655061e3
1 changed files with 14 additions and 9 deletions
|
|
@ -57,7 +57,12 @@ scope: {
|
||||||
prevAttrs.postInstall;
|
prevAttrs.postInstall;
|
||||||
});
|
});
|
||||||
|
|
||||||
toml11 = pkgs.toml11.overrideAttrs rec {
|
# TODO: Remove this when https://github.com/NixOS/nixpkgs/pull/442682 is included in a stable release
|
||||||
|
toml11 =
|
||||||
|
if lib.versionAtLeast pkgs.toml11.version "4.4.0" then
|
||||||
|
pkgs.toml11
|
||||||
|
else
|
||||||
|
pkgs.toml11.overrideAttrs rec {
|
||||||
version = "4.4.0";
|
version = "4.4.0";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "ToruNiina";
|
owner = "ToruNiina";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue