3
0
Fork 0
forked from mirrors/nixpkgs

platforms.nix: use inherit syntax

This commit is contained in:
Adam Joseph 2022-04-28 03:52:15 -07:00
parent eabc6d2902
commit 4d46ee8691

View file

@ -564,7 +564,7 @@ rec {
else if platform.isRiscV then riscv-multiplatform else if platform.isRiscV then riscv-multiplatform
else if platform.parsed.cpu == lib.systems.parse.cpuTypes.mipsel then (import ./examples.nix { lib = lib; }).mipsel-linux-gnu else if platform.parsed.cpu == lib.systems.parse.cpuTypes.mipsel then (import ./examples.nix { inherit lib; }).mipsel-linux-gnu
else if platform.parsed.cpu == lib.systems.parse.cpuTypes.powerpc64le then powernv else if platform.parsed.cpu == lib.systems.parse.cpuTypes.powerpc64le then powernv