-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Nix cross-compilation by using
callPackage
properly. (#151)
### What I removed the call to `callPackage` in favor of using `pkgs` directly. It seems this was a bad idea. I have undone this part of my refactor and, I hope, made the Nix derivation clearer as a result. I also added CI jobs for cross-compilation so this doesn't happen again. ### How Yet more Nix. The key is using `pkgs.callPackage` with the `pkgs` from _rust.nix_, rather than `import`, to specify the derivation.
- Loading branch information
1 parent
cb0752c
commit 927c903
Showing
4 changed files
with
57 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters