Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: ee2922a4b473
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: a1e13f6140a5
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on May 13, 2020

  1. go: stop setting GOPATH

    The compiler does not need it anymore, has not needed it for many years
    iirc. This just goes in and pollutes the environment overriding the
    users GOPATH and causing grief.
    
    Go even warns about it itself, without vs with this commit:
    
    ```sh
    ~> go env GOPATH
    /home/manny/go
    ~> nix-shell -p go
    ~> go env GOPATH
    warning: GOPATH set to GOROOT (/nix/store/gvw1mfpdrk7i82884yhxf9lf5j3c12zm-go-1.14.1/share/go) has no effect
    /nix/store/gvw1mfpdrk7i82884yhxf9lf5j3c12zm-go-1.14.1/share/go
    ~> exit
    ~> nix-shell -I nixpkgs=cloned/NixOS/nixpkgs -p go
    ~> go env GOPATH
    /home/manny/go
    ~> exit
    ```
    mmlb authored and Mic92 committed May 13, 2020
    Copy the full SHA
    a1e13f6 View commit details
    Browse the repository at this point in the history