mirror of
				https://github.com/RGBCube/rgbcube.github.io
				synced 2025-10-31 15:02:45 +00:00 
			
		
		
		
	Fix flake
This commit is contained in:
		
							parent
							
								
									f8e9d77792
								
							
						
					
					
						commit
						a084f03c4d
					
				
					 2 changed files with 76 additions and 26 deletions
				
			
		
							
								
								
									
										98
									
								
								Cargo.nix
									
										
									
									
									
								
							
							
						
						
									
										98
									
								
								Cargo.nix
									
										
									
									
									
								
							|  | @ -24,7 +24,7 @@ args@{ | |||
|   ignoreLockHash, | ||||
| }: | ||||
| let | ||||
|   nixifiedLockHash = "937320e1eef8ed8e1bd6e9d42a2dd46650bf88f5f4e7228fc97b8a75377f78e1"; | ||||
|   nixifiedLockHash = "3b6cdcff966e35d632c6403eb66fc4961b8ead162d7cf3f5e71605db5d6e1a7c"; | ||||
|   workspaceSrc = if args.workspaceSrc == null then ./. else args.workspaceSrc; | ||||
|   currentLockHash = builtins.hashFile "sha256" (workspaceSrc + /Cargo.lock); | ||||
|   lockHashIgnored = if ignoreLockHash | ||||
|  | @ -109,26 +109,26 @@ in | |||
|     }; | ||||
|   }); | ||||
|    | ||||
|   "registry+https://github.com/rust-lang/crates.io-index".anyhow."1.0.75" = overridableMkRustCrate (profileName: rec { | ||||
|   "registry+https://github.com/rust-lang/crates.io-index".anyhow."1.0.76" = overridableMkRustCrate (profileName: rec { | ||||
|     name = "anyhow"; | ||||
|     version = "1.0.75"; | ||||
|     version = "1.0.76"; | ||||
|     registry = "registry+https://github.com/rust-lang/crates.io-index"; | ||||
|     src = fetchCratesIo { inherit name version; sha256 = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"; }; | ||||
|     src = fetchCratesIo { inherit name version; sha256 = "59d2a3357dde987206219e78ecfbbb6e8dad06cbb65292758d3270e6254f7355"; }; | ||||
|     features = builtins.concatLists [ | ||||
|       [ "default" ] | ||||
|       [ "std" ] | ||||
|     ]; | ||||
|   }); | ||||
|    | ||||
|   "registry+https://github.com/rust-lang/crates.io-index".async-trait."0.1.74" = overridableMkRustCrate (profileName: rec { | ||||
|   "registry+https://github.com/rust-lang/crates.io-index".async-trait."0.1.75" = overridableMkRustCrate (profileName: rec { | ||||
|     name = "async-trait"; | ||||
|     version = "0.1.74"; | ||||
|     version = "0.1.75"; | ||||
|     registry = "registry+https://github.com/rust-lang/crates.io-index"; | ||||
|     src = fetchCratesIo { inherit name version; sha256 = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9"; }; | ||||
|     src = fetchCratesIo { inherit name version; sha256 = "fdf6721fb0140e4f897002dd086c06f6c27775df19cfe1fccb21181a48fd2c98"; }; | ||||
|     dependencies = { | ||||
|       proc_macro2 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.70" { inherit profileName; }).out; | ||||
|       quote = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".quote."1.0.33" { inherit profileName; }).out; | ||||
|       syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.41" { inherit profileName; }).out; | ||||
|       syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.42" { inherit profileName; }).out; | ||||
|     }; | ||||
|   }); | ||||
|    | ||||
|  | @ -156,7 +156,7 @@ in | |||
|       [ "tower-log" ] | ||||
|     ]; | ||||
|     dependencies = { | ||||
|       async_trait = (buildRustPackages."registry+https://github.com/rust-lang/crates.io-index".async-trait."0.1.74" { profileName = "__noProfile"; }).out; | ||||
|       async_trait = (buildRustPackages."registry+https://github.com/rust-lang/crates.io-index".async-trait."0.1.75" { profileName = "__noProfile"; }).out; | ||||
|       axum_core = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".axum-core."0.4.1" { inherit profileName; }).out; | ||||
|       bytes = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".bytes."1.5.0" { inherit profileName; }).out; | ||||
|       futures_util = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".futures-util."0.3.29" { inherit profileName; }).out; | ||||
|  | @ -192,7 +192,7 @@ in | |||
|     registry = "registry+https://github.com/rust-lang/crates.io-index"; | ||||
|     src = fetchCratesIo { inherit name version; sha256 = "77cb22c689c44d4c07b0ab44ebc25d69d8ae601a2f28fb8d672d344178fa17aa"; }; | ||||
|     dependencies = { | ||||
|       async_trait = (buildRustPackages."registry+https://github.com/rust-lang/crates.io-index".async-trait."0.1.74" { profileName = "__noProfile"; }).out; | ||||
|       async_trait = (buildRustPackages."registry+https://github.com/rust-lang/crates.io-index".async-trait."0.1.75" { profileName = "__noProfile"; }).out; | ||||
|       bytes = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".bytes."1.5.0" { inherit profileName; }).out; | ||||
|       futures_util = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".futures-util."0.3.29" { inherit profileName; }).out; | ||||
|       http = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".http."1.0.0" { inherit profileName; }).out; | ||||
|  | @ -290,11 +290,32 @@ in | |||
|     src = fetchCratesIo { inherit name version; sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"; }; | ||||
|   }); | ||||
|    | ||||
|   "registry+https://github.com/rust-lang/crates.io-index".embed-file."0.1.0" = overridableMkRustCrate (profileName: rec { | ||||
|     name = "embed-file"; | ||||
|     version = "0.1.0"; | ||||
|   "registry+https://github.com/rust-lang/crates.io-index".dashmap."5.5.3" = overridableMkRustCrate (profileName: rec { | ||||
|     name = "dashmap"; | ||||
|     version = "5.5.3"; | ||||
|     registry = "registry+https://github.com/rust-lang/crates.io-index"; | ||||
|     src = fetchCratesIo { inherit name version; sha256 = "11c84540ea27680af34e655a36b1b3d362f2a1d2088db07760358a01fa9546ad"; }; | ||||
|     src = fetchCratesIo { inherit name version; sha256 = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"; }; | ||||
|     dependencies = { | ||||
|       cfg_if = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".cfg-if."1.0.0" { inherit profileName; }).out; | ||||
|       hashbrown = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".hashbrown."0.14.3" { inherit profileName; }).out; | ||||
|       lock_api = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".lock_api."0.4.11" { inherit profileName; }).out; | ||||
|       once_cell = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".once_cell."1.19.0" { inherit profileName; }).out; | ||||
|       parking_lot_core = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".parking_lot_core."0.9.9" { inherit profileName; }).out; | ||||
|     }; | ||||
|   }); | ||||
|    | ||||
|   "git+https://github.com/RGBCube/embed-rs".embed."0.1.0" = overridableMkRustCrate (profileName: rec { | ||||
|     name = "embed"; | ||||
|     version = "0.1.0"; | ||||
|     registry = "git+https://github.com/RGBCube/embed-rs"; | ||||
|     src = fetchCrateGit { | ||||
|       url = https://github.com/RGBCube/embed-rs; | ||||
|       name = "embed"; | ||||
|       version = "0.1.0"; | ||||
|       rev = "2dd76f64949dd983a2e6e7752633c9dcb2330ef6";}; | ||||
|     dependencies = { | ||||
|       include_dir = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".include_dir."0.7.3" { inherit profileName; }).out; | ||||
|     }; | ||||
|   }); | ||||
|    | ||||
|   "registry+https://github.com/rust-lang/crates.io-index".env_logger."0.10.1" = overridableMkRustCrate (profileName: rec { | ||||
|  | @ -630,6 +651,34 @@ in | |||
|     }; | ||||
|   }); | ||||
|    | ||||
|   "registry+https://github.com/rust-lang/crates.io-index".include_dir."0.7.3" = overridableMkRustCrate (profileName: rec { | ||||
|     name = "include_dir"; | ||||
|     version = "0.7.3"; | ||||
|     registry = "registry+https://github.com/rust-lang/crates.io-index"; | ||||
|     src = fetchCratesIo { inherit name version; sha256 = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e"; }; | ||||
|     features = builtins.concatLists [ | ||||
|       [ "default" ] | ||||
|       [ "metadata" ] | ||||
|     ]; | ||||
|     dependencies = { | ||||
|       include_dir_macros = (buildRustPackages."registry+https://github.com/rust-lang/crates.io-index".include_dir_macros."0.7.3" { profileName = "__noProfile"; }).out; | ||||
|     }; | ||||
|   }); | ||||
|    | ||||
|   "registry+https://github.com/rust-lang/crates.io-index".include_dir_macros."0.7.3" = overridableMkRustCrate (profileName: rec { | ||||
|     name = "include_dir_macros"; | ||||
|     version = "0.7.3"; | ||||
|     registry = "registry+https://github.com/rust-lang/crates.io-index"; | ||||
|     src = fetchCratesIo { inherit name version; sha256 = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f"; }; | ||||
|     features = builtins.concatLists [ | ||||
|       [ "metadata" ] | ||||
|     ]; | ||||
|     dependencies = { | ||||
|       proc_macro2 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.70" { inherit profileName; }).out; | ||||
|       quote = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".quote."1.0.33" { inherit profileName; }).out; | ||||
|     }; | ||||
|   }); | ||||
|    | ||||
|   "registry+https://github.com/rust-lang/crates.io-index".indexmap."2.1.0" = overridableMkRustCrate (profileName: rec { | ||||
|     name = "indexmap"; | ||||
|     version = "2.1.0"; | ||||
|  | @ -773,7 +822,7 @@ in | |||
|       proc_macro_error = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro-error."1.0.4" { inherit profileName; }).out; | ||||
|       proc_macro2 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.70" { inherit profileName; }).out; | ||||
|       quote = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".quote."1.0.33" { inherit profileName; }).out; | ||||
|       syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.41" { inherit profileName; }).out; | ||||
|       syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.42" { inherit profileName; }).out; | ||||
|     }; | ||||
|   }); | ||||
|    | ||||
|  | @ -950,7 +999,7 @@ in | |||
|     dependencies = { | ||||
|       proc_macro2 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.70" { inherit profileName; }).out; | ||||
|       quote = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".quote."1.0.33" { inherit profileName; }).out; | ||||
|       syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.41" { inherit profileName; }).out; | ||||
|       syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.42" { inherit profileName; }).out; | ||||
|     }; | ||||
|   }); | ||||
|    | ||||
|  | @ -1170,7 +1219,7 @@ in | |||
|     dependencies = { | ||||
|       proc_macro2 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.70" { inherit profileName; }).out; | ||||
|       quote = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".quote."1.0.33" { inherit profileName; }).out; | ||||
|       syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.41" { inherit profileName; }).out; | ||||
|       syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.42" { inherit profileName; }).out; | ||||
|     }; | ||||
|   }); | ||||
|    | ||||
|  | @ -1231,9 +1280,10 @@ in | |||
|     registry = "unknown"; | ||||
|     src = fetchCrateLocal workspaceSrc; | ||||
|     dependencies = { | ||||
|       anyhow = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".anyhow."1.0.75" { inherit profileName; }).out; | ||||
|       anyhow = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".anyhow."1.0.76" { inherit profileName; }).out; | ||||
|       axum = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".axum."0.7.2" { inherit profileName; }).out; | ||||
|       embed_file = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".embed-file."0.1.0" { inherit profileName; }).out; | ||||
|       dashmap = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".dashmap."5.5.3" { inherit profileName; }).out; | ||||
|       embed = (rustPackages."git+https://github.com/RGBCube/embed-rs".embed."0.1.0" { inherit profileName; }).out; | ||||
|       env_logger = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".env_logger."0.10.1" { inherit profileName; }).out; | ||||
|       log = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".log."0.4.20" { inherit profileName; }).out; | ||||
|       maud = (rustPackages."git+https://github.com/vidhanio/maud".maud."0.25.0" { inherit profileName; }).out; | ||||
|  | @ -1278,11 +1328,11 @@ in | |||
|     }; | ||||
|   }); | ||||
|    | ||||
|   "registry+https://github.com/rust-lang/crates.io-index".syn."2.0.41" = overridableMkRustCrate (profileName: rec { | ||||
|   "registry+https://github.com/rust-lang/crates.io-index".syn."2.0.42" = overridableMkRustCrate (profileName: rec { | ||||
|     name = "syn"; | ||||
|     version = "2.0.41"; | ||||
|     version = "2.0.42"; | ||||
|     registry = "registry+https://github.com/rust-lang/crates.io-index"; | ||||
|     src = fetchCratesIo { inherit name version; sha256 = "44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269"; }; | ||||
|     src = fetchCratesIo { inherit name version; sha256 = "5b7d0a2c048d661a1a59fcd7355baa232f7ed34e0ee4df2eef3c1c1c0d3852d8"; }; | ||||
|     features = builtins.concatLists [ | ||||
|       [ "clone-impls" ] | ||||
|       [ "default" ] | ||||
|  | @ -1386,7 +1436,7 @@ in | |||
|     dependencies = { | ||||
|       proc_macro2 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.70" { inherit profileName; }).out; | ||||
|       quote = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".quote."1.0.33" { inherit profileName; }).out; | ||||
|       syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.41" { inherit profileName; }).out; | ||||
|       syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.42" { inherit profileName; }).out; | ||||
|     }; | ||||
|   }); | ||||
|    | ||||
|  | @ -1776,7 +1826,7 @@ in | |||
|     dependencies = { | ||||
|       proc_macro2 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.70" { inherit profileName; }).out; | ||||
|       quote = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".quote."1.0.33" { inherit profileName; }).out; | ||||
|       syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.41" { inherit profileName; }).out; | ||||
|       syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.42" { inherit profileName; }).out; | ||||
|     }; | ||||
|   }); | ||||
|    | ||||
|  |  | |||
|  | @ -29,7 +29,7 @@ | |||
|     }; | ||||
| 
 | ||||
|     rustPackages = pkgs.rustBuilder.makePackageSet { | ||||
|       rustVersion = "1.74.1"; | ||||
|       rustVersion = "1.73.0"; | ||||
|       rustChannel = "stable"; | ||||
|       rustProfile = "minimal"; | ||||
|       packageFun  = import ./Cargo.nix; | ||||
|  | @ -37,7 +37,7 @@ | |||
|   in rec { | ||||
|     devShells.default = rustPackages.workspaceShell; | ||||
| 
 | ||||
|     packages.site = rustPackages.workspace.site {}; | ||||
|     packages.site    = rustPackages.workspace.site {}; | ||||
|     packages.default = packages.site; | ||||
|   }); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 RGBCube
						RGBCube