mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
nixVersions.git: drop
this hasn't been updated in a while. We can bring this back later if someone picks up the task to keep it up-to-date.
This commit is contained in:
parent
d29ca634b2
commit
68472b90a6
4 changed files with 2 additions and 21 deletions
|
@ -81,7 +81,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
{
|
||||
stable = localRepoCheck nixVersions.stable;
|
||||
latest = localRepoCheck nixVersions.latest;
|
||||
git = localRepoCheck nixVersions.git;
|
||||
nix_2_24 = localRepoCheck nixVersions.nix_2_24;
|
||||
};
|
||||
|
||||
|
|
|
@ -260,18 +260,6 @@ lib.makeExtensible (
|
|||
# depend on the components they need in `nixComponents_2_26`.
|
||||
nix_2_26 = addTests "nix_2_26" self.nixComponents_2_26.nix-everything;
|
||||
|
||||
git = common rec {
|
||||
version = "2.25.0";
|
||||
suffix = "pre20241101_${lib.substring 0 8 src.rev}";
|
||||
src = fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "nix";
|
||||
rev = "2e5759e3778c460efc5f7cfc4cb0b84827b5ffbe";
|
||||
hash = "sha256-E1Sp0JHtbD1CaGO3UbBH6QajCtOGqcrVfPSKL0n63yo=";
|
||||
};
|
||||
self_attribute_name = "git";
|
||||
};
|
||||
|
||||
latest = self.nix_2_26;
|
||||
|
||||
# The minimum Nix version supported by Nixpkgs
|
||||
|
@ -305,7 +293,8 @@ lib.makeExtensible (
|
|||
) (lib.range 4 23)
|
||||
)
|
||||
// {
|
||||
unstable = throw "nixVersions.unstable has been removed. For bleeding edge (Nix master, roughly weekly updated) use nixVersions.git, otherwise use nixVersions.latest.";
|
||||
unstable = throw "nixVersions.unstable has been removed. use nixVersions.latest or the nix flake.";
|
||||
git = throw "nixVersions.git has been removed. use nixVersions.latest or the nix flake.";
|
||||
}
|
||||
)
|
||||
)
|
||||
|
|
|
@ -26,9 +26,3 @@ for name in $nix_versions; do
|
|||
|
||||
nix-update --override-filename "$SCRIPT_DIR/default.nix" --version-regex "(2\\.${minor_version}\..+)" --build --commit "nixVersions.$name"
|
||||
done
|
||||
|
||||
commit_json=$(curl -s https://api.github.com/repos/NixOS/nix/commits/master) # format: 2024-11-01T10:18:53Z
|
||||
date_of_commit=$(echo "$commit_json" | jq -r '.commit.author.date')
|
||||
suffix="pre$(date -d "$date_of_commit" +%Y%m%d)_"
|
||||
sed -i -e "s|\"pre[0-9]\{8\}_|\"$suffix|g" "$SCRIPT_DIR/default.nix"
|
||||
nix-update --override-filename "$SCRIPT_DIR/default.nix" --version branch --build --commit "nixVersions.git"
|
||||
|
|
|
@ -70,7 +70,6 @@ let
|
|||
gmp = nativePlatforms;
|
||||
libcCross = nativePlatforms;
|
||||
nix = nativePlatforms;
|
||||
nixVersions.git = nativePlatforms;
|
||||
mesa = nativePlatforms;
|
||||
rustc = nativePlatforms;
|
||||
cargo = nativePlatforms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue