Skip to content

Commit

Permalink
Also in depRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
nomeata committed Sep 21, 2023
1 parent 2731456 commit 72140b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nix/buildLeanPackage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ with builtins; let
depRoot = name: deps: mkBareDerivation {
name = "${name}-depRoot";
buildInputs = [ symlinkSearchPath ];
depList = lib.concatLines deps;
passAsFile = [ "depList" ];
buildCommand = ''
symlinkSearchPath $out ${lib.concatStringsSep " " deps}
symlinkSearchPath $out $depListPath
'';
};
srcRoot = src;
Expand Down

0 comments on commit 72140b0

Please sign in to comment.