File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 186186 IDEs = {
187187 kate = [ kate omnisharp-roslyn ] ;
188188 } ;
189- shellHook = drv : ''
189+ shellHook = isFlake : drv : ''
190190 export BIZHAWKBUILD_HOME='${ builtins . toString ./. } '
191- export BIZHAWK_HOME="$BIZHAWKBUILD_HOME/output/"
191+ export BIZHAWK_HOME="${ if isFlake then "$(pwd -P)" else "$ BIZHAWKBUILD_HOME" } /output/"
192192 ldLibPath='${ lib . makeLibraryPath drv . buildInputs } ' # for running tests
193193 if [ -z "$LD_LIBRARY_PATH" ]; then
194194 export LD_LIBRARY_PATH="$ldLibPath"
Original file line number Diff line number Diff line change 4646 powershell
4747 ] ;
4848 inputsFrom = [ drv ] ;
49- shellHook = avail . shellHook drv ;
49+ shellHook = avail . shellHook true drv ;
5050 } ;
5151 in
5252 {
Original file line number Diff line number Diff line change 2525 ++ lib . optionals useVSCode [ ] #TODO https://devblogs.microsoft.com/dotnet/csharp-dev-kit-now-generally-available/ https://learn.microsoft.com/en-us/training/modules/implement-visual-studio-code-debugging-tools/
2626 ;
2727 inputsFrom = [ drv ] ;
28- shellHook = avail . shellHook drv ;
28+ shellHook = avail . shellHook false drv ;
2929 } ;
3030 shells = lib . pipe avail [
3131 ( lib . mapAttrs ( name : drv : if lib . hasPrefix "bizhawkAssemblies-" name then drv else drv . assemblies or null ) )
You can’t perform that action at this time.
0 commit comments