From 352b191daaa9d05ff75001ac977cdb6647b6efa7 Mon Sep 17 00:00:00 2001 From: greysoh Date: Fri, 26 Apr 2024 13:17:01 -0400 Subject: [PATCH] chore: Makes nix more stable. --- shell.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/shell.nix b/shell.nix index c59aa5f..8b9e482 100644 --- a/shell.nix +++ b/shell.nix @@ -1,6 +1,7 @@ -let - pkgs = import (fetchTarball ("channel:nixpkgs-unstable")) { }; -in +{ + pkgs ? import { }, +}: + pkgs.mkShell { buildInputs = [ pkgs.nodejs pkgs.openssl pkgs.postgresql pkgs.lsof ]; shellHook = ''