From 21bc5d4edde0bd04805dc7ca4dd87c6015140165 Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Sun, 25 Feb 2024 12:55:20 +0100 Subject: [PATCH] Set pineappl PATH in the trivial way Just run a shell export command right before entering the shell --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index bae3eb8a..ea008d41 100644 --- a/flake.nix +++ b/flake.nix @@ -42,6 +42,9 @@ LHAPDF_DATA_PATH = lhapath; }; enterShell = '' + # update path before entering the shell, when Nix packages updates + # already happened + export PATH=${prefix}/bin:$PATH mkdir -p ${lhapath} '';