nixpkgs: 2025-05-19 -> 2025-05-23

This commit is contained in:
2025-05-29 06:28:26 +00:00
parent c0a788f750
commit e25a8a35e9
2 changed files with 18 additions and 27 deletions

View File

@@ -14,8 +14,8 @@
mkNixpkgs ? import ./mkNixpkgs.nix {},
}:
mkNixpkgs {
rev = "4b4e56e716bcbc0ec342ae39f3f14d585e6b26fa";
sha256 = "sha256-SXLZwWpBrhVbykeaeWvUFvwK7COTWl0h9lInGtjdqKQ=";
version = "unstable-2025-05-19";
rev = "ff2efdceba9e3574aecd857aefb404e99e321efd";
sha256 = "sha256-iKNuRk5XDc49yQh3A87y157z+CCKE9EEAsUIMeEjGvw=";
version = "unstable-2025-05-23";
branch = "master";
}

View File

@@ -109,7 +109,21 @@ let
# required by unstableGitUpdater
gitRepoUrl = "https://github.com/NixOS/nixpkgs.git";
inherit rev;
} // src';
} // src' // {
# required so that unstableGitUpdater can know in which file the `rev` variable can be updated in.
meta.position = let
position = builtins.unsafeGetAttrPos "rev" args;
in
"${position.file}:${toString position.line}";
passthru = {
pkgs = nixpkgs;
} // optionalAttrs (nixpkgs-bootstrap-updater != null) {
updateScript = nixpkgs-bootstrap-updater.makeUpdateScript {
inherit branch;
};
};
};
patches = import ./patches.nix { fetchpatch2 = fetchpatch2'; };
# skip applied patches
@@ -119,29 +133,6 @@ let
OUT=$($realpatch "$@") || echo "$OUT" | grep "Skipping patch" -q
}
'';
passthru = {
pkgs = nixpkgs;
# required so that unstableGitUpdater can know in which file the `rev` variable can be updated in.
meta.position = let
position = builtins.unsafeGetAttrPos "rev" args;
in
"${position.file}:${toString position.line}";
# updateScript = nix-update-script {
# extraArgs = [ "--version=branch=${branch}" ];
# };
# updateScript = unstableGitUpdater {
# # else the update script tries to walk 10000's of commits to find a tag
# hardcodeZeroVersion = true;
# inherit branch;
# };
} // optionalAttrs (nixpkgs-bootstrap-updater != null) {
updateScript = nixpkgs-bootstrap-updater.makeUpdateScript {
inherit branch;
};
};
};
nixpkgsArgs = commonNixpkgsArgs // {