pkgsx86Darwin -> pkgsx86_64Darwin
The majority of Darwin maintainers was in favour of being explicit about the bitness Co-authored-by: Uri Baghin <uri@canva.com>
This commit is contained in:
parent
69d7939a62
commit
6a995fa92c
|
@ -214,16 +214,16 @@ let
|
|||
} else throw "i686 Linux package set can only be used with the x86 family.";
|
||||
|
||||
# x86_64-darwin packages for aarch64-darwin users to use with Rosetta for incompatible packages
|
||||
pkgsx86Darwin = if stdenv.hostPlatform.isDarwin then nixpkgsFun {
|
||||
pkgsx86_64Darwin = if stdenv.hostPlatform.isDarwin then nixpkgsFun {
|
||||
overlays = [ (self': super': {
|
||||
pkgsx86Darwin = super';
|
||||
pkgsx86_64Darwin = super';
|
||||
})] ++ overlays;
|
||||
localSystem = {
|
||||
parsed = stdenv.hostPlatform.parsed // {
|
||||
cpu = lib.systems.parse.cpuTypes.x86_64;
|
||||
};
|
||||
};
|
||||
} else throw "x86 Darwin package set can only be used on Darwin systems.";
|
||||
} else throw "x86_64 Darwin package set can only be used on Darwin systems.";
|
||||
|
||||
# Extend the package set with zero or more overlays. This preserves
|
||||
# preexisting overlays. Prefer to initialize with the right overlays
|
||||
|
|
Loading…
Reference in a new issue