Unverified Commit 8bbfb780 authored by Ramses's avatar Ramses Committed by GitHub
Browse files

niri: explicitly set commit hash to "Nixpkgs" (#417830)

parents 30d29123 f2352c2c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -110,6 +110,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
        "-Wl,--pop-state"
      ]
    );

    # Upstream recommends setting the commit hash manually when in a
    # build environment where the Git repository is unavailable.
    # See https://github.com/YaLTeR/niri/wiki/Packaging-niri#version-string
    NIRI_BUILD_COMMIT = "Nixpkgs";
  };

  nativeInstallCheckInputs = [ versionCheckHook ];