Skip to content

Commit

Permalink
Also include host rust
Browse files Browse the repository at this point in the history
We need both rust versions to build anything useful.
  • Loading branch information
matthewbauer authored and nbp committed Jul 15, 2020
1 parent 875aedd commit 5ae1ff4
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 @@ -119,7 +119,7 @@ let
inherit (super.lib) flatten remove subtractLists unique;
targetExtensionsToInstall = checkMissingExtensions pkgs pkgname stdenv targetExtensions;
extensionsToInstall = checkMissingExtensions pkgs pkgname stdenv extensions;
hostTargets = [ "*" (self.rust.toRustTarget stdenv.targetPlatform) ];
hostTargets = [ "*" (self.rust.toRustTarget stdenv.hostPlatform) (self.rust.toRustTarget stdenv.targetPlatform) ];
pkgTuples = flatten (getTargetPkgTuples pkgs pkgname hostTargets targets stdenv);
extensionTuples = flatten (map (name: getTargetPkgTuples pkgs name hostTargets targets stdenv) extensionsToInstall);
targetExtensionTuples = flatten (map (name: getTargetPkgTuples pkgs name targets targets stdenv) targetExtensionsToInstall);
Expand Down

0 comments on commit 5ae1ff4

Please sign in to comment.