Unverified Commit d054b4f5 authored by ZariTen's avatar ZariTen Committed by GitHub
Browse files

samrewritten: 20251229.1 -> 1.2.3

parent d9f06e88
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
  rustPlatform,
  fetchFromGitHub,
  nix-update-script,

  # Deps
  gdk-pixbuf,
  glib,
@@ -31,6 +30,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
  doCheck = false;

  nativeBuildInputs = [
    glib
    pkg-config
    wrapGAppsHook4
  ];
@@ -44,6 +44,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
    pango
  ];

  postInstall = ''
    install -Dm644 assets/org.samrewritten.SamRewritten.gschema.xml \
      $out/share/glib-2.0/schemas/org.samrewritten.SamRewritten.gschema.xml
    glib-compile-schemas $out/share/glib-2.0/schemas
  '';

  env.PKG_CONFIG_PATH = "${openssl.dev}/lib/pkgconfig";

  passthru.updateScript = nix-update-script { };