We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39eaefb commit 0c8264cCopy full SHA for 0c8264c
pkgs/by-name/ge/geant4/package.nix
@@ -118,8 +118,8 @@ stdenv.mkDerivation rec {
118
119
postFixup =
120
''
121
- # Don't try to export invalid environment variables.
122
- sed -i 's/export G4\([A-Z]*\)DATA/#export G4\1DATA/' "$out"/bin/geant4.sh
+ substituteInPlace "$out"/bin/geant4.sh \
+ --replace-fail "export GEANT4_DATA_DIR" "# export GEANT4_DATA_DIR"
123
124
+ lib.optionalString enableQt ''
125
wrapQtAppsHook
0 commit comments