From a00752095292fde2c84d9d44889f8a90409caf21 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 19 Nov 2024 18:16:19 -0600 Subject: [PATCH] fedora nix jank --- shell.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shell.nix b/shell.nix index 5c0a41de..1d09aaa2 100644 --- a/shell.nix +++ b/shell.nix @@ -3,6 +3,11 @@ 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; [ fluxcd