tor.updateScript: use callPackage
This commit is contained in:
parent
338121d875
commit
3cf7dc2307
@ -1,5 +1,8 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
callPackage,
|
||||||
|
coreutils,
|
||||||
|
gnugrep,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
@ -16,17 +19,6 @@
|
|||||||
nixosTests,
|
nixosTests,
|
||||||
writeShellScript,
|
writeShellScript,
|
||||||
versionCheckHook,
|
versionCheckHook,
|
||||||
|
|
||||||
# for update.nix
|
|
||||||
writeScript,
|
|
||||||
common-updater-scripts,
|
|
||||||
bash,
|
|
||||||
coreutils,
|
|
||||||
curl,
|
|
||||||
gnugrep,
|
|
||||||
gnupg,
|
|
||||||
gnused,
|
|
||||||
nix,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -121,20 +113,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
tests.tor = nixosTests.tor;
|
tests.tor = nixosTests.tor;
|
||||||
updateScript = import ./update.nix {
|
updateScript = callPackage ./update.nix { };
|
||||||
inherit lib;
|
|
||||||
inherit
|
|
||||||
writeScript
|
|
||||||
common-updater-scripts
|
|
||||||
bash
|
|
||||||
coreutils
|
|
||||||
curl
|
|
||||||
gnupg
|
|
||||||
gnugrep
|
|
||||||
gnused
|
|
||||||
nix
|
|
||||||
;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user