chore(nix): use self for version

Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
seth
2024-10-25 02:34:15 -04:00
parent a5c554cf6e
commit 63b10738b2
2 changed files with 11 additions and 18 deletions

View File

@ -15,7 +15,6 @@
self,
stripJavaArchivesHook,
tomlplusplus,
version,
zlib,
msaClientID ? null,
@ -28,7 +27,7 @@ assert lib.assertMsg (
stdenv.mkDerivation {
pname = "prismlauncher-unwrapped";
inherit version;
version = self.shortRev or self.dirtyShortRev or "unknown";
src = nix-filter.lib {
root = self;