diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-17 13:26:29 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-17 13:26:29 +0100 |
commit | adea61b01babca06cf769e8014c550edc6848bd5 (patch) | |
tree | e5dabc986cb1121a5510743b93ec15efc29b2b50 /hosts/vidhar/borg/default.nix | |
parent | 93db18285e73a4b9eab9a97097a9aa7e29d4afe8 (diff) | |
download | nixos-adea61b01babca06cf769e8014c550edc6848bd5.tar nixos-adea61b01babca06cf769e8014c550edc6848bd5.tar.gz nixos-adea61b01babca06cf769e8014c550edc6848bd5.tar.bz2 nixos-adea61b01babca06cf769e8014c550edc6848bd5.tar.xz nixos-adea61b01babca06cf769e8014c550edc6848bd5.zip |
vidhar: ...
Diffstat (limited to 'hosts/vidhar/borg/default.nix')
-rw-r--r-- | hosts/vidhar/borg/default.nix | 7 |
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 \ |