Skip to content

Commit 267994c

Browse files
yeahconsole: modernize
Change to tag and finalAttrs pattern. Noticed while looking for zhf fixes. Signed-off-by: Ethan Carter Edwards <[email protected]>
1 parent e1cd3df commit 267994c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkgs/by-name/ye/yeahconsole/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
libXrandr,
77
}:
88

9-
stdenv.mkDerivation rec {
9+
stdenv.mkDerivation (finalAttrs: {
1010
pname = "yeahconsole";
1111
version = "0.1.3";
1212

1313
src = fetchFromGitHub {
1414
owner = "jceb";
1515
repo = "yeahconsole";
16-
rev = "v${version}";
16+
tag = "v${finalAttrs.version}";
1717
hash = "sha256-Ea6erNF9hEhDHlWLctu1SHFVoXXXsPeWUbvCBSZwn4s=";
1818
};
1919

@@ -33,4 +33,4 @@ stdenv.mkDerivation rec {
3333
maintainers = with lib.maintainers; [ jceb ];
3434
platforms = lib.platforms.all;
3535
};
36-
}
36+
})

0 commit comments

Comments
 (0)