Skip to content

Commit 6012182

Browse files
committed
Upgrade nixpkgs to nixos-24.05 and remove nixos-unstable again
1 parent 13882d1 commit 6012182

File tree

6 files changed

+5
-26
lines changed

6 files changed

+5
-26
lines changed

nixpkgs/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{ ... }@args:
22
let
3-
# 2023-11-30
4-
sha256 = "sha256:1lm7rkcbr7gg5zp62bga8iqyhg5hsvcly95hq0p3mcv7zq8n3wc2";
5-
rev = "7144d6241f02d171d25fba3edeaf15e0f2592105";
3+
# nixos-24.05 @ 2024-07-02
4+
sha256 = "sha256:0bpw6x46mp0xqfdwbrhnjn6qlb4avglir993n3cdqg8zv4klgllw";
5+
rev = "706eef542dec88cc0ed25b9075d3037564b2d164";
66
in
77
import (fetchTarball {
88
inherit sha256;

nixpkgs/nixos-unstable.nix

Lines changed: 0 additions & 10 deletions
This file was deleted.

rules_haskell_tests/MODULE.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ use_repo(
126126
"nixpkgs_go_sdk_toolchains",
127127
"nixpkgs_lz4",
128128
"nixpkgs_python_toolchain",
129-
"nixpkgs_unstable",
130129
"toolchains_libraries",
131130
"zlib.dev",
132131
)

rules_haskell_tests/non_module_deps_1.bzl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@ def repositories(*, bzlmod):
5858
nix_file = "//nixpkgs:default.nix",
5959
)
6060

61-
# TODO switch back to nixpkgs_default once bazel_* matches the version in .bazelversion
62-
nixpkgs_local_repository(
63-
name = "nixpkgs_unstable",
64-
nix_file = "//nixpkgs:nixos-unstable.nix",
65-
)
66-
6761
nixpkgs_package(
6862
name = "glibc_locales",
6963
attribute_path = "glibcLocales",

rules_haskell_tests/tests/integration_testing/dependencies.bzl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ def integration_testing_bazel_binaries():
1111
for package in SUPPORTED_NIXPKGS_BAZEL_PACKAGES:
1212
nixpkgs_package(
1313
name = package,
14-
# TODO switch back to nixpkgs_default once bazel_* matches the version in .bazelversion
15-
repository = "@nixpkgs_unstable",
14+
repository = "@nixpkgs_default",
1615
build_file_content = """\
1716
filegroup(
1817
name = "bazel_bin",

shell.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
with pkgs;
44

55
let
6-
nixos-unstable = import ./nixpkgs/nixos-unstable.nix { };
7-
86
macOS-security =
97
# make `/usr/bin/security` available in `PATH`, which is needed for stack
108
# on darwin which calls this binary to find certificates
@@ -44,8 +42,7 @@ mkShell {
4442
++ lib.optionals docTools [ graphviz python39Packages.sphinx zip unzip ]
4543
++ lib.optional stdenv.isDarwin macOS-security;
4644

47-
# TODO switch back to default nixpkgs once bazel_* matches the version in .bazelversion
48-
packages = [ nixos-unstable.bazel_6 ];
45+
packages = [ bazel_6 ];
4946

5047
shellHook = ''
5148
# Add nix config flags to .bazelrc.local.

0 commit comments

Comments
 (0)