Skip to content

Commit f7b94cc

Browse files
committed
Drop nix-index overlay and upgrade to 24.05
1 parent 063e77c commit f7b94cc

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

flake.nix

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,11 @@
11
{
22
description = "Script for generating Nixpkgs/NixOS channels";
33

4-
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11-small";
4+
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05-small";
55

66
outputs = { self, nixpkgs }:
77
{
88
overlays.default = final: prev: {
9-
nix-index-unwrapped = (prev.nix-index-unwrapped.override {
10-
rustPlatform = final.rustPackages_1_76.rustPlatform;
11-
}).overrideAttrs(old: rec {
12-
version = "0.1.7-unstable-2024-05-11";
13-
14-
# commit with proper HTTPS fixes
15-
# FIXME: unpin after next release
16-
src = final.fetchFromGitHub {
17-
owner = "nix-community";
18-
repo = "nix-index";
19-
rev = "195fb3525038e40836b8d286371365f5e7857c0c";
20-
hash = "sha256-Cw6Q9rHcLjPKzab5O4G7cetFAaTZCex2VLvYIhJCbpg=";
21-
};
22-
23-
cargoDeps = final.rustPlatform.fetchCargoTarball {
24-
inherit src;
25-
hash = "sha256-Pl56f8FU/U/x4gkTt5yXxE8FVQ/pGBDuxxP7HrfsaBc=";
26-
};
27-
});
28-
299
nixos-channel-native-programs = with final; stdenv.mkDerivation {
3010
name = "nixos-channel-native-programs";
3111
buildInputs = [
@@ -68,7 +48,7 @@
6848
brotli
6949
jq
7050
nixos-channel-native-programs
71-
nix-index-unwrapped
51+
nix-index
7252
];
7353

7454
buildCommand = ''

0 commit comments

Comments
 (0)