Unverified Commit 3fd978b5 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

{nh,nh-unwrapped}: fix search; add mdaniels5757 as co-maintainer (#469136)

parents 5b426b2f 17a6b18e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ in
{
  meta.maintainers = with lib.maintainers; [
    NotAShelf
    mdaniels5757
    viperML
  ];

+10 −1
Original line number Diff line number Diff line
@@ -4,12 +4,13 @@
  rustPlatform,
  installShellFiles,
  fetchFromGitHub,
  fetchpatch,
  nix-update-script,
  buildPackages,
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "nh-unwrapped";
  version = "4.2.0";
  version = "4.2.0"; # Did you remove the patch below (and this comment)?

  src = fetchFromGitHub {
    owner = "nix-community";
@@ -18,6 +19,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
    hash = "sha256-6n5SVO8zsdVTD691lri7ZcO4zpqYFU8GIvjI6dbxkA8=";
  };

  patches = [
    (fetchpatch {
      url = "https://github.com/nix-community/nh/commit/8bf323483166797a204579a43ed8810113eb128c.patch";
      hash = "sha256-hg0LgDPjiPWR+1DRzqORv6QPlrds7ys4PTDXFw6PUoI=";
    })
  ];

  strictDeps = true;

  nativeBuildInputs = [
@@ -56,6 +64,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
    mainProgram = "nh";
    maintainers = with lib.maintainers; [
      NotAShelf
      mdaniels5757
      viperML
      midischwarz12
    ];