Skip to content

Commit 840e9ca

Browse files
committed
fscryptctl: replace rec with finalAttrs
Signed-off-by: Paul Meyer <[email protected]>
1 parent 4e49df0 commit 840e9ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkgs/by-name/fs/fscryptctl/package.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
pandoc,
66
}:
77

8-
stdenv.mkDerivation rec {
8+
stdenv.mkDerivation (finalAttrs: {
99
pname = "fscryptctl";
1010
version = "1.2.0";
1111

1212
src = fetchFromGitHub {
1313
owner = "google";
1414
repo = "fscryptctl";
15-
rev = "v${version}";
15+
rev = "v${finalAttrs.version}";
1616
hash = "sha256-5suEdSpX8alDkSnSnyiIjUmZq98eK0ZPVAtDKhOs65c=";
1717
};
1818

@@ -39,10 +39,10 @@ stdenv.mkDerivation rec {
3939
As fscryptctl is intended for advanced users, you should read the kernel
4040
documentation for filesystem encryption before using fscryptctl.
4141
'';
42-
inherit (src.meta) homepage;
42+
inherit (finalAttrs.src.meta) homepage;
4343
changelog = "https://github.com/google/fscryptctl/blob/master/NEWS.md";
4444
license = lib.licenses.asl20;
4545
platforms = lib.platforms.linux;
4646
maintainers = with lib.maintainers; [ primeos ];
4747
};
48-
}
48+
})

0 commit comments

Comments
 (0)