Skip to content

Commit 5971d2b

Browse files
committed
Disable python prod optimizations
1 parent e29a9cf commit 5971d2b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

shell.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ let
1919
with pkgs;
2020
(symlinkJoin {
2121
name = "python";
22-
paths = [
23-
# Enable compiler optimizations when in production
24-
(if isDevelopment then python313 else python313.override { enableOptimizations = true; })
25-
];
22+
paths = [ python313 ];
2623
buildInputs = [ makeWrapper ];
2724
postBuild = ''
2825
wrapProgram "$out/bin/python3.13" --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath pythonLibs}"

0 commit comments

Comments
 (0)