summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorSomeoneSerge <else@someonex.net>2024-07-07 20:10:43 +0000
committerSomeoneSerge <else@someonex.net>2024-07-07 20:40:05 +0000
commit7d8aef1dd9231cdce191c7bd6fb65d0393a7c9c0 (patch)
tree0a54b083c12ba87f896261c226806338ff1c0a2e /flake.nix
parent956b4413f7f7c632d87962432f06c8f8214112ef (diff)
build: record the nix-eval-jobs path in the binary, rm the wrapper
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index 2659b41..af622e6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -67,10 +67,9 @@
highs
];
- postInstall = ''
- wrapProgram $out/bin/evanix \
- --prefix PATH : ${lib.makeBinPath [ pkgs.nix-eval-jobs ]}
- '';
+ mesonFlags = [
+ (lib.mesonOption "NIX_EVAL_JOBS_PATH" (lib.getExe pkgs.nix-eval-jobs))
+ ];
meta = {
homepage = "https://git.sinanmohd.com/evanix";