···375 # FIXME: this checksum is currently wrong, since the tensorflow dependency fetch is broken on darwin
376 "sha256-j2k9Q+k41nq5nP1VjjkkNjXRov1uAda4RCMDMAthjr0="
377 else
378- "sha256-zH3xNFEU2JR0Ww8bpD4mCiorGtao0WVPP4vklVMgS4A=";
379 };
380381 buildAttrs = {
···375 # FIXME: this checksum is currently wrong, since the tensorflow dependency fetch is broken on darwin
376 "sha256-j2k9Q+k41nq5nP1VjjkkNjXRov1uAda4RCMDMAthjr0="
377 else
378+ "sha256-3nAjP6WH6xhvVyA6ZGZ6ZpsTTUCQohNIiQhVn1eWpr8=";
379 };
380381 buildAttrs = {
···232 };
233 } else throw "i686 Linux package set can only be used with the x86 family.";
234000000000000235 # Extend the package set with zero or more overlays. This preserves
236 # preexisting overlays. Prefer to initialize with the right overlays
237 # in one go when calling Nixpkgs, for performance and simplicity.
···232 };
233 } else throw "i686 Linux package set can only be used with the x86 family.";
234235+ # x86_64-darwin packages for aarch64-darwin users to use with Rosetta for incompatible packages
236+ pkgsx86_64Darwin = if stdenv.hostPlatform.isDarwin then nixpkgsFun {
237+ overlays = [ (self': super': {
238+ pkgsx86_64Darwin = super';
239+ })] ++ overlays;
240+ localSystem = {
241+ parsed = stdenv.hostPlatform.parsed // {
242+ cpu = lib.systems.parse.cpuTypes.x86_64;
243+ };
244+ };
245+ } else throw "x86_64 Darwin package set can only be used on Darwin systems.";
246+247 # Extend the package set with zero or more overlays. This preserves
248 # preexisting overlays. Prefer to initialize with the right overlays
249 # in one go when calling Nixpkgs, for performance and simplicity.