From ebfcbfffcb49b7af1ccb1a4d7af2a5c9391d8f38 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 16 Apr 2024 15:24:49 -0500 Subject: [PATCH] Use ideas off random GitHub issue --- flake.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 1def980..5be4db9 100644 --- a/flake.nix +++ b/flake.nix @@ -38,11 +38,10 @@ shellcheck (xonsh.overridePythonAttrs (old: rec { python3 = basicPython; propagatedBuildInputs = old.propagatedBuildInputs ++ [ basicPython.pkgs.pyyaml ];})) ]; - fakeRootCommands = builtins.concatStringsSep "\n" [ - "mkdir -p /tmp" - "chmod -R 777 /tmp" + extraCommands = builtins.concatStringsSep "\n" [ + "mkdir -p tmp" + "chmod 1777 tmp" ]; - enableFakechroot = true; }; }; };