Skip to content

Commit 0bb4ae9

Browse files
committed
chore(nix): bump nixpkgs
1 parent d9ebbbd commit 0bb4ae9

File tree

17 files changed

+153
-206
lines changed

17 files changed

+153
-206
lines changed

docs/openapi.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ _: {
22
perSystem =
33
{
44
pkgs,
5-
unstablePkgs,
65
openapi,
76
ensureAtRepositoryRoot,
87
mkCi,
@@ -17,7 +16,7 @@ _: {
1716
{
1817
buildInputs =
1918
[ biome ]
20-
++ (with unstablePkgs; [
19+
++ (with pkgs; [
2120
yq
2221
jq
2322
bun

flake.lock

Lines changed: 34 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 37 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55
url = "github:hellwolf/solc.nix";
66
inputs.nixpkgs.follows = "nixpkgs";
77
};
8-
nixpkgs.url = "github:NixOS/nixpkgs?rev=75a5ebf473cd60148ba9aec0d219f72e5cf52519";
9-
# Track a separate nixpkgs for latest solc
10-
nixpkgs-solc.url = "github:NixOS/nixpkgs/nixos-unstable";
11-
nixpkgs-go.url = "github:NixOS/nixpkgs/nixos-unstable";
12-
# Track a separate nixpkgs for unstable nixos
13-
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
8+
nixpkgs.url = "github:NixOS/nixpkgs/release-24.11";
149
# Track a separate nixpkgs for JS/TS toolchains
1510
nixpkgs-js.url = "github:NixOS/nixpkgs/nixos-unstable";
1611
# Remove when lnav is updated on upstream nixpkgs
@@ -21,8 +16,8 @@
2116
inputs.nixpkgs-lib.follows = "nixpkgs";
2217
};
2318
arion = {
24-
url = "github:hercules-ci/arion?rev=6a1f03329c400327b3b2e0ed5e1efff11037ba67";
25-
inputs.nixpkgs.follows = "nixpkgs";
19+
url = "github:hercules-ci/arion/v0.2.2.0";
20+
# inputs.nixpkgs.follows = "nixpkgs";
2621
};
2722
treefmt-nix = {
2823
url = "github:numtide/treefmt-nix";
@@ -33,7 +28,7 @@
3328
};
3429
rust-overlay = {
3530
url = "github:oxalica/rust-overlay";
36-
inputs.nixpkgs.follows = "nixpkgs";
31+
# inputs.nixpkgs.follows = "nixpkgs";
3732
};
3833
crane = {
3934
url = "github:ipetkov/crane";
@@ -139,8 +134,6 @@
139134
inputs@{
140135
self,
141136
nixpkgs,
142-
nixpkgs-solc,
143-
nixpkgs-go,
144137
flake-parts,
145138
nix-filter,
146139
foundry,
@@ -256,9 +249,7 @@
256249
last = pkgs.lib.lists.last complete;
257250
};
258251

259-
goPkgs = import inputs.nixpkgs-go { inherit system; };
260252
jsPkgs = import inputs.nixpkgs-js { inherit system; };
261-
unstablePkgs = import inputs.nixpkgs-unstable { inherit system; };
262253

263254
gitRev = if (builtins.hasAttr "rev" self) then self.rev else "dirty";
264255
in
@@ -271,9 +262,7 @@
271262
dbg
272263
get-flake
273264
uniondBundleVersions
274-
goPkgs
275265
jsPkgs
276-
unstablePkgs
277266
mkCi
278267
;
279268

@@ -286,37 +275,37 @@
286275
(_: super: {
287276
inherit (self'.packages) devnet-utils;
288277

289-
go-ethereum = super.go-ethereum.override {
290-
buildGoModule =
291-
args:
292-
super.buildGoModule (
293-
args
294-
// rec {
295-
version = "1.13.12";
296-
src = pkgs.fetchFromGitHub {
297-
owner = "ethereum";
298-
repo = "go-ethereum";
299-
rev = "v${version}";
300-
sha256 = "sha256-2olJV7Z01kuXlUGyI0v4YNW07/RfYiDUhBncCIS4s0A=";
301-
};
302-
vendorHash = "sha256-gcLVQTBpOE0DHz7/p7PENhwghftJKUDm88/4jaQ1VYw=";
303-
subPackages = [
304-
"cmd/abidump"
305-
"cmd/abigen"
306-
"cmd/bootnode"
307-
"cmd/clef"
308-
"cmd/devp2p"
309-
"cmd/era"
310-
"cmd/ethkey"
311-
"cmd/evm"
312-
"cmd/geth"
313-
"cmd/p2psim"
314-
"cmd/rlpdump"
315-
"cmd/utils"
316-
];
317-
}
318-
);
319-
};
278+
# go-ethereum = super.go-ethereum.override {
279+
# buildGoModule =
280+
# args:
281+
# super.buildGoModule (
282+
# args
283+
# // rec {
284+
# version = "1.13.12";
285+
# src = pkgs.fetchFromGitHub {
286+
# owner = "ethereum";
287+
# repo = "go-ethereum";
288+
# rev = "v${version}";
289+
# sha256 = "sha256-2olJV7Z01kuXlUGyI0v4YNW07/RfYiDUhBncCIS4s0A=";
290+
# };
291+
# vendorHash = "sha256-gcLVQTBpOE0DHz7/p7PENhwghftJKUDm88/4jaQ1VYw=";
292+
# subPackages = [
293+
# "cmd/abidump"
294+
# "cmd/abigen"
295+
# "cmd/bootnode"
296+
# "cmd/clef"
297+
# "cmd/devp2p"
298+
# "cmd/era"
299+
# "cmd/ethkey"
300+
# "cmd/evm"
301+
# "cmd/geth"
302+
# "cmd/p2psim"
303+
# "cmd/rlpdump"
304+
# "cmd/utils"
305+
# ];
306+
# }
307+
# );
308+
# };
320309

321310
writeShellApplicationWithArgs = import ./tools/writeShellApplicationWithArgs.nix {
322311
pkgs = super;
@@ -485,7 +474,7 @@
485474
nodePackages_latest.typescript-language-server
486475
nodePackages_latest.vscode-langservers-extracted
487476
])
488-
++ (with unstablePkgs; [
477+
++ (with pkgs; [
489478
wasm-tools
490479
postgresql
491480
go_1_23
@@ -498,7 +487,7 @@
498487
[
499488
pkgs.solc
500489
pkgs.foundry-bin
501-
goPkgs.sqlx-cli
490+
pkgs.sqlx-cli
502491
self'.packages.hasura-cli
503492
self'.packages.ignite-cli
504493
]

0 commit comments

Comments
 (0)