about summary refs log tree commit diff
path: root/pkgs/development/tools/asmfmt
diff options
context:
space:
mode:
authorWael M. Nasreddine <wael.nasreddine@gmail.com>2020-04-30 21:18:07 -0700
committerWael M. Nasreddine <wael.nasreddine@gmail.com>2020-04-30 21:18:07 -0700
commit65f85b6efbe03cd02ff7771707d6b3eb6889e7e2 (patch)
tree429560f235ba40d46e08ab8b4d7013c86c8de3ad /pkgs/development/tools/asmfmt
parent5445b8d8d09b4fde038fc71b2178d68a82a884e7 (diff)
asmfmt: do not include gofmt/goimports/goreturns
Diffstat (limited to 'pkgs/development/tools/asmfmt')
-rw-r--r--pkgs/development/tools/asmfmt/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/tools/asmfmt/default.nix b/pkgs/development/tools/asmfmt/default.nix
index 9794180eec19d..db628e6b90241 100644
--- a/pkgs/development/tools/asmfmt/default.nix
+++ b/pkgs/development/tools/asmfmt/default.nix
@@ -27,6 +27,10 @@ buildGoPackage rec {
 
   goDeps = ./deps.nix;
 
+  # This package comes with its own version of goimports, gofmt and goreturns
+  # but these binaries are outdated and are offered by other packages.
+  subPackages = [ "cmd/asmfmt" ];
+
   meta = with lib; {
     description = "Go Assembler Formatter";
     homepage = "https://github.com/klauspost/asmfmt";