Skip to content

stdenv: Move some logic from cross adapter to stdenv proper #27365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Jul 13, 2017

Motivation for this change

Eventually the adapter will be removed. Moved is

  • Name suffix from hostPlatform

  • configurePlatforms. To not cause more breakage, the default is currently [], but eventually it will be [ "build" "host" ], as the cross adapter makes it today.

Things done

Build Linux stdenv. Leaving OSX building.


Eventually the adapter will be removed.  Moved is

 - Name suffix from hostPlatform

 - configurePlatforms

   To not cause more breakage, the default is currently [], but
   eventually it will be [ "build" "host" ], as the cross adapter makes
   it today.
@mention-bot
Copy link

@Ericson2314, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @nbp and @vcunat to be potential reviewers.

@Ericson2314 Ericson2314 merged commit 1ebb059 into NixOS:staging Jul 13, 2017
@Ericson2314 Ericson2314 deleted the smaller-stdenv-cross-adaptor branch July 13, 2017 23:29
@Ericson2314 Ericson2314 added 6.topic: cross-compilation Building packages on a different platform than they will be used on and removed 6.topic: cross-compilation Building packages on a different platform than they will be used on labels Jul 14, 2017
Ericson2314 added a commit to obsidiansystems/nixpkgs that referenced this pull request Jul 15, 2017
`nix-build pkgs/top-level/release.nix -A tarball` now succeeds.

`configureFlags = null` lead to a type error, and one overrideDrv
needed to be converted to to append a configureFlags list instead of
string due to the normalization.

Thanks @vcunat for alerting me to the issues---sorry I did not catch
them before merging my own PR.
Ericson2314 added a commit that referenced this pull request Jul 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: cross-compilation Building packages on a different platform than they will be used on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants