1
Fork 0
mirror of https://github.com/RGBCube/rgbcube.github.io synced 2025-05-21 08:55:07 +00:00

Fix flake again

This commit is contained in:
RGBCube 2023-12-21 16:04:48 +03:00
parent a084f03c4d
commit c09bf49b42
No known key found for this signature in database
3 changed files with 6 additions and 4 deletions

2
Cargo.lock generated
View file

@ -193,7 +193,7 @@ dependencies = [
[[package]] [[package]]
name = "embed" name = "embed"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/RGBCube/embed-rs#2dd76f64949dd983a2e6e7752633c9dcb2330ef6" source = "git+https://github.com/RGBCube/embed-rs#6aba0ec76d3703dd96e5c8453d4d05cec95fdd9f"
dependencies = [ dependencies = [
"include_dir", "include_dir",
] ]

View file

@ -24,7 +24,7 @@ args@{
ignoreLockHash, ignoreLockHash,
}: }:
let let
nixifiedLockHash = "3b6cdcff966e35d632c6403eb66fc4961b8ead162d7cf3f5e71605db5d6e1a7c"; nixifiedLockHash = "f6add6ca95c1664c93b1f71131f01989e4b1063411aefa0d55a6b9352cb7e5a0";
workspaceSrc = if args.workspaceSrc == null then ./. else args.workspaceSrc; workspaceSrc = if args.workspaceSrc == null then ./. else args.workspaceSrc;
currentLockHash = builtins.hashFile "sha256" (workspaceSrc + /Cargo.lock); currentLockHash = builtins.hashFile "sha256" (workspaceSrc + /Cargo.lock);
lockHashIgnored = if ignoreLockHash lockHashIgnored = if ignoreLockHash
@ -312,7 +312,7 @@ in
url = https://github.com/RGBCube/embed-rs; url = https://github.com/RGBCube/embed-rs;
name = "embed"; name = "embed";
version = "0.1.0"; version = "0.1.0";
rev = "2dd76f64949dd983a2e6e7752633c9dcb2330ef6";}; rev = "6aba0ec76d3703dd96e5c8453d4d05cec95fdd9f";};
dependencies = { dependencies = {
include_dir = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".include_dir."0.7.3" { inherit profileName; }).out; include_dir = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".include_dir."0.7.3" { inherit profileName; }).out;
}; };

View file

@ -35,7 +35,9 @@
packageFun = import ./Cargo.nix; packageFun = import ./Cargo.nix;
}; };
in rec { in rec {
devShells.default = rustPackages.workspaceShell; devShells.default = rustPackages.workspaceShell {
packages = [ cargo2nix.packages.${system}.default ];
};
packages.site = rustPackages.workspace.site {}; packages.site = rustPackages.workspace.site {};
packages.default = packages.site; packages.default = packages.site;