Skip to content

Commit

Permalink
Use my-geant4 in devshells
Browse files Browse the repository at this point in the history
This was causing two separate geant4 outputs in the flake, forcing nix
to compile geant4 twice. The only differences between the two outputs
are the overriden attributes.
  • Loading branch information
gonzaponte committed Nov 7, 2024
1 parent ec9a55d commit 2352ab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake/outputs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@
;

shell-shared = {
G4_DIR = "${pkgs.geant4}";
G4_EXAMPLES_DIR = "${pkgs.geant4}/share/Geant4-11.0.4/examples/";
G4_DIR = "${my-geant4}";
G4_EXAMPLES_DIR = "${my-geant4}/share/Geant4-11.0.4/examples/";
QT_QPA_PLATFORM_PLUGIN_PATH="${pkgs.libsForQt5.qt5.qtbase.bin}/lib/qt-${pkgs.libsForQt5.qt5.qtbase.version}/plugins";

shellHook = ''
Expand Down

0 comments on commit 2352ab9

Please sign in to comment.