Skip to content

Commit

Permalink
Update pkgs/build-support/rust/hooks/default.nix
Browse files Browse the repository at this point in the history
Co-authored-by: seth <[email protected]>
  • Loading branch information
prinzdezibel and getchoo authored Dec 12, 2024
1 parent 6df8f8f commit b4e4ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/build-support/rust/hooks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ in
];
substitutions = {
inherit (rust.envVars) rustTargetPlatformSpec setEnv;
pythonInterpreter = builtins.elemAt (builtins.match "([0-9]+\.[0-9]+)\.*" python3.version) 0;
pythonInterpreter = lib.versions.majorMinor pythonOnBuildForHost.version;
};
} ./maturin-build-hook.sh) {};

Expand Down

0 comments on commit b4e4ffa

Please sign in to comment.