Skip to content

Commit

Permalink
using buildGo121Module
Browse files Browse the repository at this point in the history
  • Loading branch information
dav009 committed Sep 23, 2023
1 parent 53ee0f0 commit 55ef352
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions flake.nix
Expand Up @@ -22,13 +22,15 @@
packages = forAllSystems (system:
let pkgs = nixpkgsFor.${system};
in rec {
bqt = pkgs.buildGoModule {
bqt = pkgs.buildGo121Module {
pname = "bqt";
inherit version;
src = ./.;
CGO_ENABLED = 1;
CXX="clang++";
CC="clang";
preBuild = ''
export CC=clang
export CXX="clang++";
'';
vendorSha256 =
"sha256-sjg+D0IIErl21HZjXBNKBTqXBZfy6w6EhHYS0seUE3k=";
nativeBuildInputs = with pkgs; [ clang_14 ];
Expand Down

0 comments on commit 55ef352

Please sign in to comment.