mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-22 15:15:50 -06:00
propagate dependency on nix-eval-jobs
This commit is contained in:
parent
8771c2d910
commit
0ff51ae6c5
3 changed files with 20 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
++ [
|
||||
inputs.nim2nix.overlays.default # adds buildNimPackage
|
||||
|
||||
inputs.lix-module.overlays.default
|
||||
(final: prev: {
|
||||
|
||||
nix = inputs.self.packages.${final.system}.lix;
|
||||
|
|
|
@ -16,6 +16,9 @@ in
|
|||
nimble = pkgs.callPackage ./nim/nimble { };
|
||||
|
||||
lix = (flake.pkg "lix-module");
|
||||
|
||||
nix-eval-jobs = pkgs.nix-eval-jobs;
|
||||
|
||||
roc = (flake.pkgs "roc").cli;
|
||||
roc-lang-server = (flake.pkgs "roc").lang-server;
|
||||
|
||||
|
|
|
@ -2,14 +2,29 @@
|
|||
lib,
|
||||
openssl,
|
||||
buildNimblePackage,
|
||||
|
||||
nix-eval-jobs,
|
||||
makeWrapper,
|
||||
}:
|
||||
|
||||
buildNimblePackage {
|
||||
|
||||
name = "oizys";
|
||||
version = "unstable";
|
||||
src = lib.cleanSource ./.;
|
||||
nativeBuildInputs = [ openssl ];
|
||||
nativeBuildInputs = [ openssl makeWrapper ];
|
||||
nimbleDepsHash = "sha256-bthmRlUO6IOYRiwVic0TPOvo0gsfD/49J2GzoIQqlF0=";
|
||||
meta = {
|
||||
description = "nix begat oizys";
|
||||
};
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/oizys \
|
||||
--set PATH ${
|
||||
lib.makeBinPath [
|
||||
nix-eval-jobs
|
||||
]
|
||||
}
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue