about summary refs log tree commit diff
path: root/nix/flake
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-03-06 06:23:13 -0800
committerFranck Cuny <franck@fcuny.net>2024-03-06 06:23:13 -0800
commitd90927b99bd4fd97b365b87aaa305ea05845e8ba (patch)
treea384b4ec6d2e16063641e7f0317264e4fb6a7503 /nix/flake
parentinstall my own scripts (diff)
downloadworld-d90927b99bd4fd97b365b87aaa305ea05845e8ba.tar.gz
use absolute path by using `$self`
Diffstat (limited to 'nix/flake')
-rw-r--r--nix/flake/packages.nix4
1 files changed, 2 insertions, 2 deletions
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" { };
     };
   };
 }