Fix harmonia deployment
This commit is contained in:
parent
3e21dc9827
commit
24a1647040
|
@ -90,7 +90,7 @@
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
# TODO: drop when switching to 23.05 and check if treefmt-nix is still used
|
# TODO: drop when switching to 23.05 and check if treefmt-nix is still used
|
||||||
harmonia = {
|
harmonia = {
|
||||||
url = "github:nix-community/harmonia";
|
url = "github:SuperSandro2000/harmonia/flake-lock";
|
||||||
inputs = {
|
inputs = {
|
||||||
flake-parts.follows = "flake-parts";
|
flake-parts.follows = "flake-parts";
|
||||||
nixpkgs.follows = "nixos";
|
nixpkgs.follows = "nixos";
|
||||||
|
@ -285,7 +285,7 @@
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
overlays = import ./overlays {
|
overlays = import ./overlays {
|
||||||
inherit (inputs) tracer bevy-mandelbrot bevy-julia;
|
inherit (inputs) bevy-julia bevy-mandelbrot harmonia tracer;
|
||||||
};
|
};
|
||||||
|
|
||||||
legacyPackages = lib.attrsets.mapAttrs (_: pkgs: pkgs.appendOverlays overlayList) nixos.legacyPackages;
|
legacyPackages = lib.attrsets.mapAttrs (_: pkgs: pkgs.appendOverlays overlayList) nixos.legacyPackages;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ bevy-julia
|
{ bevy-julia
|
||||||
, bevy-mandelbrot
|
, bevy-mandelbrot
|
||||||
|
, harmonia
|
||||||
, tracer
|
, tracer
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -35,6 +36,8 @@ with final; {
|
||||||
commandLineArgs = "--enable-features=VaapiVideoEncoder,VaapiVideoDecoder,CanvasOopRasterization --force-dark-mode";
|
commandLineArgs = "--enable-features=VaapiVideoEncoder,VaapiVideoDecoder,CanvasOopRasterization --force-dark-mode";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
harmonia = harmonia.packages.${system}.harmonia.override { pkgs = prev // { rustPlatform = rustPackages_1_66.rustPlatform; }; };
|
||||||
|
|
||||||
# hydra flake
|
# hydra flake
|
||||||
hydra = prev.hydra.overrideAttrs (oldAttrs: {
|
hydra = prev.hydra.overrideAttrs (oldAttrs: {
|
||||||
patches = oldAttrs.patches or [ ] ++ [
|
patches = oldAttrs.patches or [ ] ++ [
|
||||||
|
|
Loading…
Reference in New Issue