summaryrefslogtreecommitdiff
path: root/hosts/vidhar/borg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/borg/default.nix')
-rw-r--r--hosts/vidhar/borg/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/hosts/vidhar/borg/default.nix b/hosts/vidhar/borg/default.nix
index cae241d2..05cc74d5 100644
--- a/hosts/vidhar/borg/default.nix
+++ b/hosts/vidhar/borg/default.nix
@@ -42,7 +42,10 @@ let
42 }; 42 };
43 }; 43 };
44 44
45 copyBorg = pkgs.stdenv.mkDerivation rec { 45 copyBorg = pkgs.stdenv.mkDerivation let
46 packageOverrides = pkgs.callPackage ./pyprctl-packages.nix {};
47 inpPython = pkgs.python39.override { inherit packageOverrides; };
48 in rec {
46 name = "copy"; 49 name = "copy";
47 src = ./copy.py; 50 src = ./copy.py;
48 51
@@ -50,7 +53,7 @@ let
50 53
51 buildInputs = with pkgs; [makeWrapper]; 54 buildInputs = with pkgs; [makeWrapper];
52 55
53 python = pkgs.python39.withPackages (ps: with ps; [humanize tqdm dateutil xdg python-unshare pyprctl halo]); 56 python = inpPython.withPackages (ps: with ps; [humanize tqdm dateutil xdg python-unshare pyprctl halo]);
54 57
55 buildPhase = '' 58 buildPhase = ''
56 substitute $src copy \ 59 substitute $src copy \