enhanced go shell

This commit is contained in:
2025-08-29 21:52:01 +03:00
parent 823c82f7fb
commit 36fae0f0df

8
go.nix
View File

@@ -1,9 +1,5 @@
let with (import <nixpkgs> {});
# Pinned nixpkgs, deterministic. Last updated: 2/12/21. mkShell {
#pkgs = import (fetchTarball("https://github.com/NixOS/nixpkgs/archive/a58a0b5098f0c2a389ee70eb69422a052982d990.tar.gz")) {};
# Rolling updates, not deterministic.
pkgs = import (fetchTarball "channel:nixpkgs-unstable") { };
in pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
go go
gcc gcc