Skip to content

Commit 2571ebc

Browse files
domenkozarclaude
andcommitted
Fix sandbox issue with Python source fetching (#45)
Pass the real hash to cpython's fetchurl instead of null, making it a proper fixed-output derivation with sandbox network access. This prevents DNS failures when nixpkgs.follows is overridden. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7d828f3 commit 2571ebc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304
callPackage pythonFun (
305305
{
306306
inherit sourceVersion;
307-
hash = null;
307+
hash = "sha256-${hash}";
308308
self = packages.${version};
309309
passthruFun = callPackage "${pkgs.path}/pkgs/development/interpreters/python/passthrufun.nix" { };
310310
}

0 commit comments

Comments
 (0)