init flake support
This commit is contained in:
		
							parent
							
								
									5dd0633d8c
								
							
						
					
					
						commit
						9b6f60ce8a
					
				
							
								
								
									
										27
									
								
								flake.lock
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								flake.lock
									
									
									
										generated
									
									
									
										Normal file
									
								
							@ -0,0 +1,27 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "nodes": {
 | 
				
			||||||
 | 
					    "nixpkgs": {
 | 
				
			||||||
 | 
					      "locked": {
 | 
				
			||||||
 | 
					        "lastModified": 1654007547,
 | 
				
			||||||
 | 
					        "narHash": "sha256-G812EeXZeGeGjkAvbTleGwcKFCGxdLOQb9aViOWASPc=",
 | 
				
			||||||
 | 
					        "owner": "NixOS",
 | 
				
			||||||
 | 
					        "repo": "nixpkgs",
 | 
				
			||||||
 | 
					        "rev": "5643714dea562f0161529ab23058562afeff46d0",
 | 
				
			||||||
 | 
					        "type": "github"
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "original": {
 | 
				
			||||||
 | 
					        "owner": "NixOS",
 | 
				
			||||||
 | 
					        "ref": "nixpkgs-unstable",
 | 
				
			||||||
 | 
					        "repo": "nixpkgs",
 | 
				
			||||||
 | 
					        "type": "github"
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "root": {
 | 
				
			||||||
 | 
					      "inputs": {
 | 
				
			||||||
 | 
					        "nixpkgs": "nixpkgs"
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "root": "root",
 | 
				
			||||||
 | 
					  "version": 7
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										23
									
								
								flake.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								flake.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  description = "Dandellion's NUR repo";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  outputs = { self, nixpkgs }:
 | 
				
			||||||
 | 
					    let
 | 
				
			||||||
 | 
					      systems = [
 | 
				
			||||||
 | 
					        "x86_64-linux"
 | 
				
			||||||
 | 
					        "i686-linux"
 | 
				
			||||||
 | 
					        "x86_64-darwin"
 | 
				
			||||||
 | 
					        "aarch64-linux"
 | 
				
			||||||
 | 
					        "armv6l-linux"
 | 
				
			||||||
 | 
					        "armv7l-linux"
 | 
				
			||||||
 | 
					      ];
 | 
				
			||||||
 | 
					      forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
 | 
				
			||||||
 | 
					    in
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      packages = forAllSystems (system: import ./default.nix {
 | 
				
			||||||
 | 
					        pkgs = import nixpkgs { inherit system; };
 | 
				
			||||||
 | 
					      });
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user