From d90927b99bd4fd97b365b87aaa305ea05845e8ba Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 6 Mar 2024 06:23:13 -0800 Subject: use absolute path by using `$self` --- nix/flake/packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nix') diff --git a/nix/flake/packages.nix b/nix/flake/packages.nix index 38e243f..4236fc1 100644 --- a/nix/flake/packages.nix +++ b/nix/flake/packages.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: { +{ inputs, self, ... }: { imports = [ inputs.flake-parts.flakeModules.easyOverlay ]; @@ -10,7 +10,7 @@ }; packages = { - seqstat = pkgs.callPackage ../../tools/seqstat { }; + seqstat = pkgs.callPackage "${self}/tools/seqstat" { }; }; }; } -- cgit 1.4.1