mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
infisical: use finalAttrs.finalPackage
This commit is contained in:
parent
eba30179f4
commit
039acd3e8b
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user