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 174174 IDEs = {
175175 kate = [ kate omnisharp-roslyn ] ;
176176 } ;
177- shellHook = drv : ''
177+ shellHook = isFlake : drv : ''
178178 export BIZHAWKBUILD_HOME='${ builtins . toString ./. } '
179- export BIZHAWK_HOME="$BIZHAWKBUILD_HOME/output/"
179+ export BIZHAWK_HOME="${ if isFlake then "$(pwd -P)" else "$ BIZHAWKBUILD_HOME" } /output/"
180180 ldLibPath='${ lib . makeLibraryPath drv . buildInputs } ' # for running tests
181181 if [ -z "$LD_LIBRARY_PATH" ]; then
182182 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