Skip to content

Commit

Permalink
Get pypy310 from same nixpkgs revision
Browse files Browse the repository at this point in the history
since the associated binary is in the binary cache
  • Loading branch information
jab committed Jan 6, 2025
1 parent 7cb185c commit 58fb1c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 24 deletions.
19 changes: 1 addition & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
# Get pypy310 from a nixpkgs revision where its binary is in the binary cache
# to avoid building it from source.
pypy310.url = "github:NixOS/nixpkgs/d4f247e89f6e10120f911e2e2d2254a050d0f732";
};

outputs = { self, flake-utils, nixpkgs, pypy310 }:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
Expand All @@ -22,9 +19,8 @@
python311
python310
python39
pypy310
uv # Bootstrap version used to install a possibly-newer version when 'uv sync' is run (via uv.lock)
] ++ [
pypy310.legacyPackages.${system}.pypy310
];
shellHook = ''
./init_dev_env
Expand Down

0 comments on commit 58fb1c9

Please sign in to comment.