From 03b02d2097c1e7eb142e086bdc1fa20252246c03 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sun, 16 Apr 2023 15:27:22 +0200 Subject: Make it possible to not rebuild deploy-rs Use the deploy-rs from the final packages set. This can avoid rebuilding deploy-rs when using it in a nixos config. It can use the version cached in nixpkgs. Also add instructions to the readme on how to craft an overlay that uses nixpkgs deploy-rs. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 9b8e6eb..9e8bb4e 100644 --- a/flake.nix +++ b/flake.nix @@ -77,7 +77,7 @@ name = base.name + "-activate-rs"; text = '' #!${final.runtimeShell} - exec ${self.packages.${system}.default}/bin/activate "$@" + exec ${final.deploy-rs.deploy-rs}/bin/activate "$@" ''; executable = true; destination = "/activate-rs"; -- cgit v1.2.3