From 5514ddc399164d351aa99b003eac7b0835ed5c4f Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Tue, 8 Jul 2025 01:34:12 +0200 Subject: [PATCH] Home: Pin unityhub to 3.13 pre version --- flake.nix | 13 ++++++++----- home/christoph/nixinator/default.nix | 4 +++- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index e0b469b6..7861a8ef 100644 --- a/flake.nix +++ b/flake.nix @@ -56,6 +56,7 @@ # Just for shell.nix devshell.url = "github:numtide/devshell"; + unityhub-pinned.url = "github:huantianad/nixpkgs/9542b0bc7701e173a10e6977e57bbba68bb3051f"; }; # Outputs is a function that takes the inputs as arguments. @@ -90,11 +91,13 @@ inputs.nur.overlays.default inputs.emacs-overlay.overlay - # TODO: Check if this works - # TODO: Remove after OBS is fixed: https://github.com/obsproject/obs-studio/pull/11906 - # (final: prev: { - # v4l2loopback = inputs.v4l2loopback-pinned.pkgs.v4l2loopback; - # }) + # https://github.com/NixOS/nixpkgs/issues/418451 + (final: prev: { + unityhub_pinned_3_13 = import inputs.unityhub-pinned { + config.allowUnfree = true; + localSystem = {inherit (prev) system;}; + }; + }) # All my own overlays (import ./overlays {inherit nixpkgs inputs;}) diff --git a/home/christoph/nixinator/default.nix b/home/christoph/nixinator/default.nix index 8128996d..8e6eb74a 100644 --- a/home/christoph/nixinator/default.nix +++ b/home/christoph/nixinator/default.nix @@ -113,7 +113,9 @@ # jetbrains.webstorm # Unity Stuff - # unityhub # TODO: Disable until https://github.com/NixOS/nixpkgs/issues/418451 is closed + # unityhub + unityhub_pinned_3_13.unityhub # TODO: Remove after https://github.com/NixOS/nixpkgs/issues/418451 + rider dotnetCore mono