mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
restic: reference nixos test
This commit is contained in:
parent
42adda1ec4
commit
447207114f
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "restic";
|
pname = "restic";
|
||||||
@ -18,6 +18,8 @@ buildGoPackage rec {
|
|||||||
go run build.go
|
go run build.go
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests.restic = nixosTests.restic;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p \
|
mkdir -p \
|
||||||
$bin/bin \
|
$bin/bin \
|
||||||
|
Loading…
Reference in New Issue
Block a user