From 3fac43c366e3fec31f12071d5d78caa1b7962c29 Mon Sep 17 00:00:00 2001 From: Nick Spinale Date: Thu, 28 Dec 2023 17:02:16 -0500 Subject: [PATCH] Use impure nix-shell in Makefile Signed-off-by: Nick Spinale --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c1b6e6acd..a682dd516 100644 --- a/Makefile +++ b/Makefile @@ -24,10 +24,7 @@ nix_build := $(append_to_nix_config) nix-build $(nix_args) nix_shell := $(append_to_nix_config) nix-shell $(nix_args) ifeq ($(IN_NIX_SHELL_FOR_MAKEFILE),) - # TODO - # Should this use --pure? One consideration is that 'make shell' below - # doesn't, and consistency might be more important here. - run_in_nix_shell := $(nix_shell) -A shellForMakefile --pure --run + run_in_nix_shell := $(nix_shell) -A shellForMakefile --run else run_in_nix_shell := $(SHELL) -c endif