diff options
Diffstat (limited to 'pkgs/development/go-modules/generic')
-rw-r--r-- | pkgs/development/go-modules/generic/default.nix | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pkgs/development/go-modules/generic/default.nix b/pkgs/development/go-modules/generic/default.nix index 77c2687e2911..bd047da4c919 100644 --- a/pkgs/development/go-modules/generic/default.nix +++ b/pkgs/development/go-modules/generic/default.nix @@ -176,15 +176,6 @@ go.stdenv.mkDerivation ( installPhase = args.installPhase or '' runHook preInstall - mkdir -p $out - pushd "$NIX_BUILD_TOP/go" - while read f; do - echo "$f" | grep -q '^./\(src\|pkg/[^/]*\)/${goPackagePath}' || continue - mkdir -p "$(dirname "$out/share/go/$f")" - cp "$NIX_BUILD_TOP/go/$f" "$out/share/go/$f" - done < <(find . -type f) - popd - mkdir -p $bin dir="$NIX_BUILD_TOP/go/bin" [ -e "$dir" ] && cp -r $dir $bin |