Skip to content

Commit

Permalink
iproute2mac: use finalAttrs (#365157)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Dec 15, 2024
2 parents f1d0eb9 + ca2e1f0 commit e4cef11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/by-name/ip/iproute2mac/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
python3,
}:

stdenv.mkDerivation rec {
version = "1.5.4";
stdenv.mkDerivation (finalAttrs: {
pname = "iproute2mac";
version = "1.5.4";

src = fetchFromGitHub {
owner = "brona";
repo = "iproute2mac";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-hmSqJ2gc0DOXUuFrp1ZG8usjFdo07zjV/1JLs5r/E04=";
};

Expand Down Expand Up @@ -52,4 +52,4 @@ stdenv.mkDerivation rec {
maintainers = with lib.maintainers; [ jiegec ];
platforms = lib.platforms.darwin;
};
}
})

0 comments on commit e4cef11

Please sign in to comment.