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 Mar 21, 2024
1 parent 87e52a8 commit ca96f73
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 ca96f73

Please sign in to comment.