Unverified Commit c7c8fcd9 authored by Daniel Beecham's avatar Daniel Beecham
Browse files

oklch-color-picker: add darwin build support

parent 2578d6bc
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -27,9 +27,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];

  runtimeDependencies = [
    libGL
  ]
  ++ lib.optionals stdenv.hostPlatform.isLinux [
    wayland
    libxkbcommon
    libGL
  ];

  nativeInstallCheckInputs = [ versionCheckHook ];
@@ -46,6 +48,5 @@ rustPlatform.buildRustPackage (finalAttrs: {
    changelog = "https://github.com/eero-lehtinen/oklch-color-picker/releases/tag/${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ videl ];
    broken = stdenv.hostPlatform.isDarwin;
  };
})