3
0
Fork 0
forked from mirrors/nixpkgs

restic: reference nixos test

This commit is contained in:
Jörg Thalheim 2020-02-07 10:39:18 +00:00
parent 42adda1ec4
commit 447207114f
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -1,4 +1,4 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
buildGoPackage rec {
pname = "restic";
@ -18,6 +18,8 @@ buildGoPackage rec {
go run build.go
'';
passthru.tests.restic = nixosTests.restic;
installPhase = ''
mkdir -p \
$bin/bin \