Skip to content

Commit

Permalink
Drop Darwin-incompatible dependencies from the sanoid build
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Feb 17, 2023
1 parent 4cf2ffc commit 50116a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/tools/backup/sanoid/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ stdenv.mkDerivation rec {
# incompatibilities with the ZFS kernel module.
wrapProgram "$out/bin/sanoid" \
--prefix PERL5LIB : "$PERL5LIB" \
--prefix PATH : "${lib.makeBinPath [ procps "/run/booted-system/sw" zfs ]}"
--prefix PATH : "${lib.makeBinPath [ procps ]}"
install -m755 syncoid "$out/bin/syncoid"
wrapProgram "$out/bin/syncoid" \
--prefix PERL5LIB : "$PERL5LIB" \
--prefix PATH : "${lib.makeBinPath [ openssh procps which pv mbuffer lzop gzip pigz "/run/booted-system/sw" zfs ]}"
--prefix PATH : "${lib.makeBinPath [ openssh procps which pv lzop gzip pigz ]}"
install -m755 findoid "$out/bin/findoid"
wrapProgram "$out/bin/findoid" \
--prefix PERL5LIB : "$PERL5LIB" \
--prefix PATH : "${lib.makeBinPath [ "/run/booted-system/sw" zfs ]}"
--prefix PATH : "${lib.makeBinPath [ ]}"
runHook postInstall
'';
Expand Down

0 comments on commit 50116a5

Please sign in to comment.