forked from lix-project/lix-installer
Upgrade to Nix 2.20.5 (CVE-2024-27297) (#882)
This commit is contained in:
parent
06eaf882e6
commit
79e3aa2beb
12
flake.lock
12
flake.lock
|
@ -94,16 +94,16 @@
|
||||||
"nixpkgs-regression": "nixpkgs-regression"
|
"nixpkgs-regression": "nixpkgs-regression"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1708517151,
|
"lastModified": 1709808984,
|
||||||
"narHash": "sha256-s7QTMxLzVA5UF80sFCv8jwaTMBLA8/110YFkZNkNsCk=",
|
"narHash": "sha256-bfFe38BkoQws7om4gBtBWoNTLkt9piMXdLLoHYl+vBQ=",
|
||||||
"rev": "8a8172cd2b5ef2f6dd2d9673a6379447d780ff17",
|
"rev": "f8170ce9f119e5e6724eb81ff1b5a2d4c0024000",
|
||||||
"revCount": 16129,
|
"revCount": 16143,
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nix/2.20.3/018dcc43-c784-772a-8da1-64165044e9cd/source.tar.gz"
|
"url": "https://api.flakehub.com/f/pinned/NixOS/nix/2.20.5/018e199b-ae2c-703d-ab99-4c648be473b2/source.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://flakehub.com/f/NixOS/nix/%3D2.20.3.tar.gz"
|
"url": "https://flakehub.com/f/NixOS/nix/%3D2.20.5.tar.gz"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
url = "https://flakehub.com/f/NixOS/nix/=2.20.3.tar.gz";
|
url = "https://flakehub.com/f/NixOS/nix/=2.20.5.tar.gz";
|
||||||
# Omitting `inputs.nixpkgs.follows = "nixpkgs";` on purpose
|
# Omitting `inputs.nixpkgs.follows = "nixpkgs";` on purpose
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -13,19 +13,19 @@ pub const SCRATCH_DIR: &str = "/nix/temp-install-dir";
|
||||||
|
|
||||||
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Linux x86_64
|
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Linux x86_64
|
||||||
pub const NIX_X64_64_LINUX_URL: &str =
|
pub const NIX_X64_64_LINUX_URL: &str =
|
||||||
"https://releases.nixos.org/nix/nix-2.20.3/nix-2.20.3-x86_64-linux.tar.xz";
|
"https://releases.nixos.org/nix/nix-2.20.5/nix-2.20.5-x86_64-linux.tar.xz";
|
||||||
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Linux x86 (32 bit)
|
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Linux x86 (32 bit)
|
||||||
pub const NIX_I686_LINUX_URL: &str =
|
pub const NIX_I686_LINUX_URL: &str =
|
||||||
"https://releases.nixos.org/nix/nix-2.20.3/nix-2.20.3-i686-linux.tar.xz";
|
"https://releases.nixos.org/nix/nix-2.20.5/nix-2.20.5-i686-linux.tar.xz";
|
||||||
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Linux aarch64
|
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Linux aarch64
|
||||||
pub const NIX_AARCH64_LINUX_URL: &str =
|
pub const NIX_AARCH64_LINUX_URL: &str =
|
||||||
"https://releases.nixos.org/nix/nix-2.20.3/nix-2.20.3-aarch64-linux.tar.xz";
|
"https://releases.nixos.org/nix/nix-2.20.5/nix-2.20.5-aarch64-linux.tar.xz";
|
||||||
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Darwin x86_64
|
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Darwin x86_64
|
||||||
pub const NIX_X64_64_DARWIN_URL: &str =
|
pub const NIX_X64_64_DARWIN_URL: &str =
|
||||||
"https://releases.nixos.org/nix/nix-2.20.3/nix-2.20.3-x86_64-darwin.tar.xz";
|
"https://releases.nixos.org/nix/nix-2.20.5/nix-2.20.5-x86_64-darwin.tar.xz";
|
||||||
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Darwin aarch64
|
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Darwin aarch64
|
||||||
pub const NIX_AARCH64_DARWIN_URL: &str =
|
pub const NIX_AARCH64_DARWIN_URL: &str =
|
||||||
"https://releases.nixos.org/nix/nix-2.20.3/nix-2.20.3-aarch64-darwin.tar.xz";
|
"https://releases.nixos.org/nix/nix-2.20.5/nix-2.20.5-aarch64-darwin.tar.xz";
|
||||||
|
|
||||||
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone, Copy, PartialEq, Eq)]
|
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone, Copy, PartialEq, Eq)]
|
||||||
#[cfg_attr(feature = "cli", derive(clap::ValueEnum))]
|
#[cfg_attr(feature = "cli", derive(clap::ValueEnum))]
|
||||||
|
|
Loading…
Reference in a new issue