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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5b7e3718ee3d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 147422082327
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 30, 2019

  1. buildGoModule: add ./ to all sub-packages (#63936)

    When $subPackages has more than one item, the build was failing because
    ./ was added only to the first subPackage. This commit adds ./ to all
    specified subPackages.
    kalbasit authored Jun 30, 2019

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    1474220 View commit details
Showing with 2 additions and 1 deletion.
  1. +2 −1 pkgs/development/go-modules/generic/default.nix
3 changes: 2 additions & 1 deletion pkgs/development/go-modules/generic/default.nix
Original file line number Diff line number Diff line change
@@ -125,7 +125,7 @@ let
local type;
type="$1"
if [ -n "$subPackages" ]; then
echo "./$subPackages"
echo "$subPackages" | sed "s,\(^\| \),\1./,g"
else
find . -type f -name \*$type.go -exec dirname {} \; | grep -v "/vendor/" | sort --unique
fi
@@ -144,6 +144,7 @@ let
export NIX_BUILD_CORES=1
fi
for pkg in $(getGoDirs ""); do
echo "Building subPackage $pkg"
buildGoDir install "$pkg"
done
'' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''