1
Fork 0
mirror of https://github.com/RGBCube/rgbcube.github.io synced 2025-05-14 05:54:58 +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]]
name = "embed"
version = "0.1.0"
source = "git+https://github.com/RGBCube/embed-rs#2dd76f64949dd983a2e6e7752633c9dcb2330ef6"
source = "git+https://github.com/RGBCube/embed-rs#6aba0ec76d3703dd96e5c8453d4d05cec95fdd9f"
dependencies = [
"include_dir",
]

View file

@ -24,7 +24,7 @@ args@{
ignoreLockHash,
}:
let
nixifiedLockHash = "3b6cdcff966e35d632c6403eb66fc4961b8ead162d7cf3f5e71605db5d6e1a7c";
nixifiedLockHash = "f6add6ca95c1664c93b1f71131f01989e4b1063411aefa0d55a6b9352cb7e5a0";
workspaceSrc = if args.workspaceSrc == null then ./. else args.workspaceSrc;
currentLockHash = builtins.hashFile "sha256" (workspaceSrc + /Cargo.lock);
lockHashIgnored = if ignoreLockHash
@ -312,7 +312,7 @@ in
url = https://github.com/RGBCube/embed-rs;
name = "embed";
version = "0.1.0";
rev = "2dd76f64949dd983a2e6e7752633c9dcb2330ef6";};
rev = "6aba0ec76d3703dd96e5c8453d4d05cec95fdd9f";};
dependencies = {
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;
};
in rec {
devShells.default = rustPackages.workspaceShell;
devShells.default = rustPackages.workspaceShell {
packages = [ cargo2nix.packages.${system}.default ];
};
packages.site = rustPackages.workspace.site {};
packages.default = packages.site;