Open dgudim opened 1 year ago
same issue :( on NixOS 23.11
built using:
{ lib, stdenv, fetchFromGitHub, buildGoModule, pkgs }:
buildGoModule rec {
pname = "pam_beacon";
version = "0.2.0";
src = fetchFromGitHub {
owner = "muesli";
repo = "pam-beacon";
rev = "52d058d40ea20f71099a5867867058ef1562efe1";
sha256 = "016v3ngwgrpffh96ppplh4qx0gr7zcll9ar6pszyjrwamd463qvx";
};
vendorHash = "sha256-uraNVfax78bbekWssCcySTFM18cBfSlaOv0SNweOYm8=";
buildInputs = with pkgs; [ linux-pam ];
CGO_ENABLED = 1;
ldflags = [
"-linkmode external"
# "-extldflags '-static -I${pkgs.linux-pam}/include -L${pkgs.linux-pam}/lib'"
];
}
Does not work, running in terminal gives this: