Remove unnecessary overlay from PHP template
This commit is contained in:
		
							parent
							
								
									f89d066e0c
								
							
						
					
					
						commit
						a303071d90
					
				
					 1 changed files with 2 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -14,17 +14,11 @@
 | 
			
		|||
 | 
			
		||||
    flake-utils.lib.eachDefaultSystem (system:
 | 
			
		||||
    let
 | 
			
		||||
      overlays = [
 | 
			
		||||
        (self: super: rec {
 | 
			
		||||
          php = super.php;
 | 
			
		||||
          composer = super.phpPackages.composer;
 | 
			
		||||
        })
 | 
			
		||||
      ];
 | 
			
		||||
      pkgs = import nixpkgs { inherit overlays system; };
 | 
			
		||||
      pkgs = import nixpkgs { inherit system; };
 | 
			
		||||
    in
 | 
			
		||||
    {
 | 
			
		||||
      devShell = pkgs.mkShell {
 | 
			
		||||
        buildInputs = with pkgs; [ composer php ];
 | 
			
		||||
        buildInputs = with pkgs; [ phpPackages.composer php ];
 | 
			
		||||
 | 
			
		||||
        shellHook = ''
 | 
			
		||||
          echo "`${pkgs.php}/bin/php --version`"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue