Advertisement
Guest User

Untitled

a guest
Oct 14th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. --- a/pkgs/top-level/python-packages.nix
  2. +++ b/pkgs/top-level/python-packages.nix
  3. @@ -9,6 +9,8 @@
  4. { pkgs
  5. , stdenv
  6. , python
  7. +, overrideCC
  8. +, gcc5
  9. , overrides ? (self: super: {})
  10. }:
  11.  
  12. @@ -9230,7 +9232,10 @@ in {
  13. };
  14. };
  15.  
  16. - pytorch = callPackage ../development/python-modules/pytorch { };
  17. + pytorch = callPackage ../development/python-modules/pytorch {
  18. + stdenv = overrideCC stdenv gcc5;
  19. + gcc = gcc5;
  20. + };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement