Skip to content

Commit 4e80ecf

Browse files
committed
rxp: modernize
- replace `rec` with `finalAttrs`
1 parent 08b4d7d commit 4e80ecf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkgs/by-name/rx/rxp/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
fetchurl,
55
}:
66

7-
stdenv.mkDerivation rec {
7+
stdenv.mkDerivation (finalAttrs: {
88
pname = "rxp";
99
version = "1.5.2";
1010

1111
src = fetchurl {
12-
url = "https://www.inf.ed.ac.uk/research/isddarch/admin/rxp-${version}.tar.gz";
12+
url = "https://www.inf.ed.ac.uk/research/isddarch/admin/rxp-${finalAttrs.version}.tar.gz";
1313
hash = "sha256-+mQbSlGF0KHZYQyCRbnVr/WXLBoooNqU8+ONafbBRRM=";
1414
};
1515

@@ -20,4 +20,4 @@ stdenv.mkDerivation rec {
2020
platforms = lib.platforms.unix;
2121
mainProgram = "rxp";
2222
};
23-
}
23+
})

0 commit comments

Comments
 (0)