Merge pull request #322977 from Artturin/nixgitupd

nixVersions.git: 2.23.0 -> 2.23.1 (hashes)
This commit is contained in:
Artturin
2024-06-28 00:10:31 +03:00
committed by GitHub
3 changed files with 8 additions and 4 deletions
@@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
'';
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
platforms = platforms.unix ++ platforms.windows;
};
})
# TODO [ AndersonTorres ]: tests
@@ -19,6 +19,7 @@ let
atLeast219 = lib.versionAtLeast version "2.19pre";
atLeast220 = lib.versionAtLeast version "2.20pre";
atLeast221 = lib.versionAtLeast version "2.21pre";
atLeast224 = lib.versionAtLeast version "2.24pre";
# Major.minor versions unaffected by CVE-2024-27297
unaffectedByFodSandboxEscape = [
"2.3"
@@ -58,6 +59,7 @@ in
, libxml2
, libxslt
, lowdown
, toml11
, man
, mdbook
, mdbook-linkcheck
@@ -136,6 +138,8 @@ self = stdenv.mkDerivation {
lowdown
] ++ lib.optionals atLeast220 [
libgit2
] ++ lib.optionals (atLeast224 || lib.versionAtLeast version "pre20240626") [
toml11
] ++ lib.optionals stdenv.isDarwin [
Security
] ++ lib.optionals (stdenv.isx86_64) [
@@ -184,12 +184,12 @@ in lib.makeExtensible (self: ({
git = common rec {
version = "2.23.1";
suffix = "pre20240526_${lib.substring 0 8 src.rev}";
suffix = "pre20240627_${lib.substring 0 8 src.rev}";
src = fetchFromGitHub {
owner = "NixOS";
repo = "nix";
rev = "7de033d63fbcf97aad164e131ae3a85e5dcebce7";
hash = "sha256-LtsyUsVpr9sM0n1L7MeTw8/6wGtGeXFvKAbPR5lqN8Q=";
rev = "b44909ac2244bda4c387b9a17748e8a94ada9e78";
hash = "sha256-tS8i/fyi2DO5GM103b+G7K/XwFWhWvb2VDjqpLH5Kxc=";
};
self_attribute_name = "git";
};