···375375 # FIXME: this checksum is currently wrong, since the tensorflow dependency fetch is broken on darwin
376376 "sha256-j2k9Q+k41nq5nP1VjjkkNjXRov1uAda4RCMDMAthjr0="
377377 else
378378- "sha256-zH3xNFEU2JR0Ww8bpD4mCiorGtao0WVPP4vklVMgS4A=";
378378+ "sha256-3nAjP6WH6xhvVyA6ZGZ6ZpsTTUCQohNIiQhVn1eWpr8=";
379379 };
380380381381 buildAttrs = {
···232232 };
233233 } else throw "i686 Linux package set can only be used with the x86 family.";
234234235235+ # x86_64-darwin packages for aarch64-darwin users to use with Rosetta for incompatible packages
236236+ pkgsx86_64Darwin = if stdenv.hostPlatform.isDarwin then nixpkgsFun {
237237+ overlays = [ (self': super': {
238238+ pkgsx86_64Darwin = super';
239239+ })] ++ overlays;
240240+ localSystem = {
241241+ parsed = stdenv.hostPlatform.parsed // {
242242+ cpu = lib.systems.parse.cpuTypes.x86_64;
243243+ };
244244+ };
245245+ } else throw "x86_64 Darwin package set can only be used on Darwin systems.";
246246+235247 # Extend the package set with zero or more overlays. This preserves
236248 # preexisting overlays. Prefer to initialize with the right overlays
237249 # in one go when calling Nixpkgs, for performance and simplicity.