Skip to content

Commit

Permalink
Fix undefined reference
Browse files Browse the repository at this point in the history
  • Loading branch information
lf- committed Aug 10, 2020
1 parent eaf42a6 commit 3ae360a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ let
"armv6l" = "arm";
}.${cpu.name} or platform.rustc.arch or cpu.name;
in platform.rustc.config
or "${cpu_}-${vendor.name}-${kernel.name}${lib.optionalString (abi.name != "unknown") "-${abi.name}"}");
or "${cpu_}-${vendor.name}-${kernel.name}${super.lib.optionalString (abi.name != "unknown") "-${abi.name}"}");

getTuples = pkgs: name: targets:
builtins.map (target: { inherit name target; }) (builtins.filter (target: hasTarget pkgs name target) targets);
Expand Down

0 comments on commit 3ae360a

Please sign in to comment.