nasmfmt: remove vendored go.mod

We can use go mod init instead, as the project has no dependencies.

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer
2024-08-20 11:54:01 +02:00
parent 7a4b2649f0
commit ca419fa755
2 changed files with 8 additions and 7 deletions
+8 -4
View File
@@ -1,6 +1,10 @@
{ lib, buildGoModule, fetchFromGitHub }:
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule {
pname = "nasmfmt";
version = "unstable-2022-09-15";
@@ -14,10 +18,10 @@ buildGoModule rec {
vendorHash = null;
preBuild = ''
cp ${./go.mod} go.mod
go mod init github.com/yamnikov-oleg/nasmfmt
'';
ldflags = [ "-s" "-w" ];
ldflags = [ "-s" ];
meta = with lib; {
description = "Formatter for NASM source files";
-3
View File
@@ -1,3 +0,0 @@
module github.com/yamnikov-oleg/nasmfmt
go 1.18