Advertisement
Guest User

Untitled

a guest
Mar 24th, 2021
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. let
  2. modPkgs = import <nixpkgs> {
  3. crossOverlays = [( self: super: {
  4. gcc = super.gcc.overrideAttrs (old: {
  5. # this stops the building
  6. # buildCommand = ''
  7. # echo foo
  8. # exit 1
  9. # '';
  10.  
  11. # this doesn't stop the building
  12. preBuild = ''
  13. echo foo
  14. exit 1
  15. '';
  16. });
  17. })];
  18. };
  19. in modPkgs.gcc
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement