Skip to content

Commit

Permalink
Go projects default to not using cgo
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Apr 21, 2024
1 parent b461d31 commit 920c91a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions home/bin/init-nix-shell
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ mkShell {
gopls
delve
];
env = {
# disable cgo by default
CGO_ENABLED = "0";
};
}
"""

Expand Down

0 comments on commit 920c91a

Please sign in to comment.