File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,20 @@ scope: {
5757 prevAttrs . postInstall ;
5858 } ) ;
5959
60- toml11 = pkgs . toml11 . overrideAttrs rec {
61- version = "4.4.0" ;
62- src = pkgs . fetchFromGitHub {
63- owner = "ToruNiina" ;
64- repo = "toml11" ;
65- tag = "v${ version } " ;
66- hash = "sha256-sgWKYxNT22nw376ttGsTdg0AMzOwp8QH3E8mx0BZJTQ=" ;
67- } ;
68- } ;
60+ # TODO: Remove this when https://github.com/NixOS/nixpkgs/pull/442682 is included in a stable release
61+ toml11 =
62+ if lib . versionAtLeast pkgs . toml11 . version "4.4.0" then
63+ pkgs . toml11
64+ else
65+ pkgs . toml11 . overrideAttrs rec {
66+ version = "4.4.0" ;
67+ src = pkgs . fetchFromGitHub {
68+ owner = "ToruNiina" ;
69+ repo = "toml11" ;
70+ tag = "v${ version } " ;
71+ hash = "sha256-sgWKYxNT22nw376ttGsTdg0AMzOwp8QH3E8mx0BZJTQ=" ;
72+ } ;
73+ } ;
6974
7075 # TODO Hack until https://github.com/NixOS/nixpkgs/issues/45462 is fixed.
7176 boost =
You can’t perform that action at this time.
0 commit comments