| 5 Jan 2024 |
Vladislav Vasilev | Redacted or Malformed Event | 16:15:05 |
Vladislav Vasilev | { fetchFromGitHub
, stdenv
, pkgs
, lib
}: pkgs.buildGoModule rec {
pname = "neutrond";
version = "2.0.0";
commit = "e605ed3db4381994ee8185ba4a0ff0877d34e67f";
src = (fetchFromGitHub {
owner = "neutron-org";
repo = "neutron";
rev = "v${version}";
sha256 = "sha256-NuoOlrciBeL2f/A7wlQBqYlYJhSYucXRhLgxdasfyhI=";
});
vendorHash = "sha256-uLInKbuL886cfXCyQvIDZJHUC8AK9fR39yNBHDO+Qzc=";
# vendorSha256 = lib.fakeSha256;
doCheck = false;
meta = with lib; {
description = "Neutron node";
longDescription = ''
Neutron node to interact with neutron blockchain
'';
homepage = "https://github.com/neutron-org/neutron";
license = licenses.asl20; # Apache license
maintainers = with maintainers; [
pr0n00gler
foxpy
];
platforms = platforms.all;
};
nativeBuildInputs = with pkgs; [
patchelf
];
ldflags = [
"-w -s"
"-X github.com/cosmos/cosmos-sdk/version.Name=neutron"
"-X github.com/cosmos/cosmos-sdk/version.AppName=neutrond"
"-X github.com/cosmos/cosmos-sdk/version.Version=${version}"
"-X github.com/cosmos/cosmos-sdk/version.Commit=${commit}"
"-X github.com/cosmos/cosmos-sdk/version.BuildTags=gcc,netgo"
];
}
| 16:15:18 |
Vladislav Vasilev | * Trying this now
{ fetchFromGitHub
, stdenv
, pkgs
, lib
}: pkgs.buildGoModule rec {
pname = "neutrond";
version = "2.0.0";
commit = "e605ed3db4381994ee8185ba4a0ff0877d34e67f";
src = (fetchFromGitHub {
owner = "neutron-org";
repo = "neutron";
rev = "v${version}";
sha256 = "sha256-NuoOlrciBeL2f/A7wlQBqYlYJhSYucXRhLgxdasfyhI=";
});
vendorHash = "sha256-uLInKbuL886cfXCyQvIDZJHUC8AK9fR39yNBHDO+Qzc=";
# vendorSha256 = lib.fakeSha256;
doCheck = false;
meta = with lib; {
description = "Neutron node";
longDescription = ''
Neutron node to interact with neutron blockchain
'';
homepage = "https://github.com/neutron-org/neutron";
license = licenses.asl20; # Apache license
maintainers = with maintainers; [
pr0n00gler
foxpy
];
platforms = platforms.all;
};
nativeBuildInputs = with pkgs; [
patchelf
];
ldflags = [
"-w -s"
"-X github.com/cosmos/cosmos-sdk/version.Name=neutron"
"-X github.com/cosmos/cosmos-sdk/version.AppName=neutrond"
"-X github.com/cosmos/cosmos-sdk/version.Version=${version}"
"-X github.com/cosmos/cosmos-sdk/version.Commit=${commit}"
"-X github.com/cosmos/cosmos-sdk/version.BuildTags=gcc,netgo"
];
}
| 16:15:48 |
@qbit:tapenet.org | if it's using cgo stuff you will need to set proxyVendor = true; | 16:16:14 |
@qbit:tapenet.org | (i don't think it is - bu tthe ref to gcc in the BuildTags made me think of that :P | 16:17:20 |
Vladislav Vasilev | I think it was wrong :DDD | 16:17:50 |
Vladislav Vasilev |  Download image.png | 16:18:03 |
Vladislav Vasilev | Can it be a problem with stdenv? | 16:21:20 |
Vladislav Vasilev |  Download image.png | 16:21:24 |
@qbit:tapenet.org | you can remove the ref to stdenv - you aren't using it | 16:24:18 |