From 987e9207330552dcc425f61398883bf706bedd1c Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Sun, 12 Nov 2023 20:59:45 -0500 Subject: [PATCH] impure: apply fetchGit hack to all impure entrypoints --- default.nix | 5 ++++- overlays.nix | 5 ++++- shell.nix | 5 ++++- test.nix | 5 ++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/default.nix b/default.nix index 71694e06..0c27d0c3 100644 --- a/default.nix +++ b/default.nix @@ -10,7 +10,10 @@ let } ) { - src = ./.; + # hack to skip fetchGit when evaluating impurely and get original paths + src = { + outPath = ./.; + }; } ).defaultNix; in diff --git a/overlays.nix b/overlays.nix index 2409386e..1a603777 100644 --- a/overlays.nix +++ b/overlays.nix @@ -8,7 +8,10 @@ let } ) { - src = ./.; + # hack to skip fetchGit when evaluating impurely and get original paths + src = { + outPath = ./.; + }; } ).defaultNix; in diff --git a/shell.nix b/shell.nix index ca0c208a..d8445767 100644 --- a/shell.nix +++ b/shell.nix @@ -10,7 +10,10 @@ let } ) { - src = ./.; + # hack to skip fetchGit when evaluating impurely and get original paths + src = { + outPath = ./.; + }; } ).defaultNix; in diff --git a/test.nix b/test.nix index 683a8be7..491af74e 100644 --- a/test.nix +++ b/test.nix @@ -10,7 +10,10 @@ let } ) { - src = ./.; + # hack to skip fetchGit when evaluating impurely and get original paths + src = { + outPath = ./.; + }; } ).defaultNix; in