From 36fae0f0dfc0a162c2a185da9a78144661d2bbaf Mon Sep 17 00:00:00 2001 From: kenny Date: Fri, 29 Aug 2025 21:52:01 +0300 Subject: [PATCH] enhanced go shell --- go.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/go.nix b/go.nix index d222715..c0fd0c6 100644 --- a/go.nix +++ b/go.nix @@ -1,9 +1,5 @@ -let - # Pinned nixpkgs, deterministic. Last updated: 2/12/21. - #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 { +with (import {}); +mkShell { buildInputs = with pkgs; [ go gcc