fix: just use x86_64-linux

Signed-off-by: jolheiser <john.olheiser@gmail.com>
flake
jolheiser 2023-12-21 15:56:42 -06:00
parent 69c9a9cb62
commit fd47f49a3b
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 27 additions and 37 deletions

View File

@ -7,21 +7,13 @@
self, self,
nixpkgs, nixpkgs,
}: let }: let
systems = [ system = "x86_64-linux";
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
];
in
builtins.map (
system: let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
in { in {
{{if pname}} {{if pname}}
packages.${system}.default = pkgs.buildGoModule { packages.${system}.default = pkgs.buildGoModule {
pname = {{pname}}; pname = "{{pname}}";
version = {{version}}; version = "{{version}}";
src = ./.; src = ./.;
vendorHash = ""; vendorHash = "";
meta = with pkgs.lib; { meta = with pkgs.lib; {
@ -41,7 +33,5 @@
]; ];
}; };
{{end}} {{end}}
} };
)
systems;
} }