set PLAYDATE_SDK_PATH in flake
This commit is contained in:
		
							parent
							
								
									4feeb24123
								
							
						
					
					
						commit
						e4d98b7fed
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -16,6 +16,10 @@
 | 
				
			||||||
    in {
 | 
					    in {
 | 
				
			||||||
      devShell.${system} = with pkgs;
 | 
					      devShell.${system} = with pkgs;
 | 
				
			||||||
        mkShell {
 | 
					        mkShell {
 | 
				
			||||||
 | 
					          env = {
 | 
				
			||||||
 | 
					            PLAYDATE_SDK_PATH = playdate-sdk-pkg;  
 | 
				
			||||||
 | 
					          };
 | 
				
			||||||
 | 
					          
 | 
				
			||||||
          nativeBuildInputs = [
 | 
					          nativeBuildInputs = [
 | 
				
			||||||
            just
 | 
					            just
 | 
				
			||||||
            lua-language-server
 | 
					            lua-language-server
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								justfile
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								justfile
									
										
									
									
									
								
							| 
						 | 
					@ -1,5 +1,4 @@
 | 
				
			||||||
bin := "Rush.pdx"
 | 
					bin := "Rush.pdx"
 | 
				
			||||||
export PLAYDATE_SDK_PATH := `dirname $(which pdc)` / ".."
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
alias b := build
 | 
					alias b := build
 | 
				
			||||||
build:
 | 
					build:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue