Unverified Commit 9502f3f4 authored by Heitor Augusto's avatar Heitor Augusto
Browse files

stress: replace `rec` with `finalAttrs`

parent dc8c5b2f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -5,14 +5,14 @@
  autoreconfHook,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "stress";
  version = "1.0.7";

  src = fetchFromGitHub {
    owner = "resurrecting-open-source-projects";
    repo = pname;
    rev = version;
    repo = finalAttrs.pname;
    rev = finalAttrs.version;
    hash = "sha256-1r0n/KE4RpO0txIViGxuc7G+I4Ds9AJYcuMx2/R97jg=";
  };

@@ -24,4 +24,4 @@ stdenv.mkDerivation rec {
    platforms = platforms.unix;
    mainProgram = "stress";
  };
}
})