Merge pull request #78886 from Mic92/restic-fixes

Restic fixes: pruning, process substitution (take 2)
This commit is contained in:
Jörg Thalheim
2020-02-07 14:14:16 +00:00
committed by GitHub
4 changed files with 117 additions and 7 deletions
+3 -1
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 \