Pin dependencies to a nixpkgs commit

This commit is contained in:
Miguel de la Cruz 2023-06-30 17:23:01 +02:00
parent b6e9d3ebb5
commit af389c7a62

View file

@ -1,6 +1,14 @@
with import <nixpkgs> {}; { pkgs ? import <nixpkgs> {} }:
mkShell { let
buildInputs = [ pkgsPin = import (pkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "a55ae76040581f6a69aeb2c63e4878b306c2b9ac";
sha256 = "0iywjwn8ksdxpfm8fan5yqdvmb91sirjgx0w3jqczza2vhxl9pf3";
}) {};
in
pkgs.mkShell {
buildInputs = with pkgsPin; [
git git
go go
gotestsum gotestsum