Use explicit order in overlays
This commit is contained in:
		
							parent
							
								
									1f7045fcfe
								
							
						
					
					
						commit
						f2434a17c2
					
				| @ -9,11 +9,12 @@ | |||||||
|     ./slurm.nix |     ./slurm.nix | ||||||
|     ./ssh.nix |     ./ssh.nix | ||||||
|     ./users.nix |     ./users.nix | ||||||
| 
 |  | ||||||
|     ../../pkgs/mpi.nix |  | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|   nixpkgs.overlays = [ bscpkgs.bscOverlay ]; |   nixpkgs.overlays = [ | ||||||
|  |     bscpkgs.bscOverlay | ||||||
|  |     (import ../../pkgs/mpi.nix) | ||||||
|  |   ]; | ||||||
| 
 | 
 | ||||||
|   nix.nixPath = [ |   nix.nixPath = [ | ||||||
|     "nixpkgs=${nixpkgs}" |     "nixpkgs=${nixpkgs}" | ||||||
|  | |||||||
							
								
								
									
										10
									
								
								pkgs/mpi.nix
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								pkgs/mpi.nix
									
									
									
									
									
								
							| @ -1,5 +1,4 @@ | |||||||
| let | final: prev: | ||||||
|   overlay = final: prev: |  | ||||||
| { | { | ||||||
|   bsc = prev.bsc.extend (bsc: { |   bsc = prev.bsc.extend (bsc: { | ||||||
|     mpi2 = bsc.mpich; |     mpi2 = bsc.mpich; | ||||||
| @ -22,10 +21,5 @@ let | |||||||
|         "FCFLAGS=-fallow-argument-mismatch" |         "FCFLAGS=-fallow-argument-mismatch" | ||||||
|       ]; |       ]; | ||||||
|     }); |     }); | ||||||
|     }; |   }); | ||||||
|   }; |  | ||||||
| in |  | ||||||
| 
 |  | ||||||
| { |  | ||||||
|   nixpkgs.overlays = [ overlay ]; |  | ||||||
| } | } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user