infisical: use finalAttrs.finalPackage

This commit is contained in:
Peder Bergebakken Sundt 2024-09-17 03:32:56 +02:00
parent eba30179f4
commit 039acd3e8b

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, testers, infisical, installShellFiles }:
{ stdenv, lib, fetchurl, testers, installShellFiles }:
# this expression is mostly automated, and you are STRONGLY
# RECOMMENDED to use to nix-update for updating this expression when new
@ -36,7 +36,7 @@ let
fetchurl { inherit name url hash; };
in
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "infisical";
version = version;
inherit src;
@ -63,7 +63,7 @@ stdenv.mkDerivation {
passthru = {
updateScript = ./update.sh;
tests.version = testers.testVersion { package = infisical; };
tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
};
meta = with lib; {
@ -84,4 +84,4 @@ stdenv.mkDerivation {
"x86_64-darwin"
];
};
}
})