aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-06-07 22:05:55 +0530
committersinanmohd <sinan@sinanmohd.com>2024-06-08 07:55:56 +0530
commitf6a06d2fe7bd8519219f243536e77fcee46cb583 (patch)
treee414d45701392ef02f04d2663d2e3d00082a88b4
parent841b3c6e2148cab8c327e7210b3023c9fc2486c3 (diff)
flake/packages: wrap with nix-eval-jobs
-rw-r--r--flake.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 010ff71..7d5416c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -20,6 +20,7 @@
buildInputs = with pkgs; [
cjson
+ nix-eval-jobs
pkg-config
meson
@@ -46,11 +47,17 @@
meson
ninja
pkg-config
+ makeWrapper
];
buildInputs = with pkgs; [
cjson
];
+ postInstall = ''
+ wrapProgram $out/bin/evanix \
+ --prefix PATH : ${lib.makeBinPath [ pkgs.nix-eval-jobs ]}
+ '';
+
meta = {
homepage = "https://git.sinanmohd.com/evanix";