From a5ce6a01dd23dbad8e5f90f890891936963c0be8 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 19 Nov 2024 18:14:25 -0600 Subject: [PATCH] fedora jank --- shell.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shell.nix b/shell.nix index 1aa5ae5..1ee0f3d 100644 --- a/shell.nix +++ b/shell.nix @@ -6,6 +6,11 @@ in pkgs.mkShell { # Enable experimental features without having to specify the argument NIX_CONFIG = "experimental-features = nix-command flakes"; + shellHook = '' + export TMP=$(mktemp -d "/tmp/nix-shell-XXXXXX") + export TEMP=$TMP + export TMPDIR=$TMP + ''; nativeBuildInputs = with pkgs; [ cachix