Skip to content

Commit

Permalink
Set pineappl PATH in the trivial way
Browse files Browse the repository at this point in the history
Just run a shell export command right before entering the shell
  • Loading branch information
alecandido committed Feb 25, 2024
1 parent bc058b8 commit 21bc5d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}
'';

Expand Down

0 comments on commit 21bc5d4

Please sign in to comment.