Skip to content

Commit a8a7860

Browse files
committed
lock pypy3 to 25.05 to prevent failure with sqlite
1 parent 6ef0701 commit a8a7860

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

flake.lock

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

flake.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
description = "Luogu Judge Environment";
33
inputs = {
44
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
5+
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05-small";
56
nixpkgs_gcc930.url = "github:NixOS/nixpkgs/99cd95772761842712f77c291d26443ee039d862";
67
rust-overlay.url = "github:oxalica/rust-overlay";
78
};
8-
outputs = inputs@{ self, nixpkgs, nixpkgs_gcc930, rust-overlay, ... }: let
9+
outputs = inputs@{ self, nixpkgs, nixpkgs-stable, nixpkgs_gcc930, rust-overlay, ... }: let
910
system = "x86_64-linux";
1011

1112
inherit(nixpkgs) lib;
@@ -19,6 +20,7 @@
1920
(import ./testlib/overlay.nix)
2021
(import ./gcc/overlay.nix)
2122
(import ./checker/overlay.nix)
23+
(self: super: { pypy3 = nixpkgs-stable.legacyPackages.${super.system}.pypy3; }) # pypy workaround (NixOS/nixpkgs#419942)
2224
];
2325
};
2426

0 commit comments

Comments
 (0)